Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
5d2daebf
Commit
5d2daebf
authored
Aug 05, 2015
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qsvenc: mark the encoders as INIT_CLEANUP
Should fix some leaks on init failure.
parent
83847cc8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
qsvenc_h264.c
libavcodec/qsvenc_h264.c
+1
-0
qsvenc_hevc.c
libavcodec/qsvenc_hevc.c
+1
-0
qsvenc_mpeg2.c
libavcodec/qsvenc_mpeg2.c
+1
-0
No files found.
libavcodec/qsvenc_h264.c
View file @
5d2daebf
...
...
@@ -118,4 +118,5 @@ AVCodec ff_h264_qsv_encoder = {
AV_PIX_FMT_NONE
},
.
priv_class
=
&
class
,
.
defaults
=
qsv_enc_defaults
,
.
caps_internal
=
FF_CODEC_CAP_INIT_CLEANUP
,
};
libavcodec/qsvenc_hevc.c
View file @
5d2daebf
...
...
@@ -269,4 +269,5 @@ AVCodec ff_hevc_qsv_encoder = {
AV_PIX_FMT_NONE
},
.
priv_class
=
&
class
,
.
defaults
=
qsv_enc_defaults
,
.
caps_internal
=
FF_CODEC_CAP_INIT_CLEANUP
,
};
libavcodec/qsvenc_mpeg2.c
View file @
5d2daebf
...
...
@@ -114,4 +114,5 @@ AVCodec ff_mpeg2_qsv_encoder = {
AV_PIX_FMT_NONE
},
.
priv_class
=
&
class
,
.
defaults
=
qsv_enc_defaults
,
.
caps_internal
=
FF_CODEC_CAP_INIT_CLEANUP
,
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment