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
3e1f507f
Commit
3e1f507f
authored
Sep 03, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: make avcodec_close() more tolerant.
See previous commit.
parent
36cd017a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
APIchanges
doc/APIchanges
+3
-0
utils.c
libavcodec/utils.c
+6
-1
version.h
libavcodec/version.h
+1
-1
No files found.
doc/APIchanges
View file @
3e1f507f
...
...
@@ -15,6 +15,9 @@ libavutil: 2012-10-22
API changes, most recent first:
2013-xx-xx - xxxxxxx - lavc 55.31.101 - avcodec.h
avcodec_close() argument can be NULL.
2013-xx-xx - xxxxxxx - lavf 55.16.101 - avformat.h
avformat_close_input() argument can be NULL and point on NULL.
...
...
libavcodec/utils.c
View file @
3e1f507f
...
...
@@ -2398,7 +2398,12 @@ av_cold int ff_codec_close_recursive(AVCodecContext *avctx)
av_cold
int
avcodec_close
(
AVCodecContext
*
avctx
)
{
int
ret
=
ff_lock_avcodec
(
avctx
);
int
ret
;
if
(
!
avctx
)
return
0
;
ret
=
ff_lock_avcodec
(
avctx
);
if
(
ret
<
0
)
return
ret
;
...
...
libavcodec/version.h
View file @
3e1f507f
...
...
@@ -30,7 +30,7 @@
#define LIBAVCODEC_VERSION_MAJOR 55
#define LIBAVCODEC_VERSION_MINOR 31
#define LIBAVCODEC_VERSION_MICRO 10
0
#define LIBAVCODEC_VERSION_MICRO 10
1
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \
...
...
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