Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
0739614c
Commit
0739614c
authored
May 20, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: remove no longer needed ff_codec_close_recursive()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
be2bbc52
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
15 deletions
+1
-15
internal.h
libavcodec/internal.h
+0
-5
smvjpegdec.c
libavcodec/smvjpegdec.c
+1
-1
utils.c
libavcodec/utils.c
+0
-9
No files found.
libavcodec/internal.h
View file @
0739614c
...
...
@@ -225,11 +225,6 @@ int avpriv_h264_has_num_reorder_frames(AVCodecContext *avctx);
*/
int
ff_codec_open2_recursive
(
AVCodecContext
*
avctx
,
const
AVCodec
*
codec
,
AVDictionary
**
options
);
/**
* Call avcodec_close recursively, counterpart to avcodec_open2_recursive.
*/
int
ff_codec_close_recursive
(
AVCodecContext
*
avctx
);
/**
* Finalize buf into extradata and set its size appropriately.
*/
...
...
libavcodec/smvjpegdec.c
View file @
0739614c
...
...
@@ -184,7 +184,7 @@ static av_cold int smvjpeg_decode_end(AVCodecContext *avctx)
jpg
->
picture_ptr
=
NULL
;
av_frame_free
(
&
s
->
picture
[
0
]);
av_frame_free
(
&
s
->
picture
[
1
]);
ff_codec_close_recursiv
e
(
s
->
avctx
);
avcodec_clos
e
(
s
->
avctx
);
av_freep
(
&
s
->
avctx
);
return
0
;
}
...
...
libavcodec/utils.c
View file @
0739614c
...
...
@@ -2677,15 +2677,6 @@ void avsubtitle_free(AVSubtitle *sub)
memset
(
sub
,
0
,
sizeof
(
AVSubtitle
));
}
av_cold
int
ff_codec_close_recursive
(
AVCodecContext
*
avctx
)
{
int
ret
=
0
;
ret
=
avcodec_close
(
avctx
);
return
ret
;
}
av_cold
int
avcodec_close
(
AVCodecContext
*
avctx
)
{
if
(
!
avctx
)
...
...
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