diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-11 13:58:29 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-11 14:03:12 +0200 |
commit | de31814ab07fd971d24c66a5e1ecf464b7ebe033 (patch) | |
tree | 42c68ea4d18cdfbac8051772d9853ac7d50b2f7b /libavformat/aviobuf.c | |
parent | c4aaff8c02cecfe42b730cb922521e4b9f26df30 (diff) | |
parent | b522000e9b2ca36fe5b2751096b9a5f5ed8f87e6 (diff) | |
download | ffmpeg-de31814ab07fd971d24c66a5e1ecf464b7ebe033.tar.gz |
Merge commit 'b522000e9b2ca36fe5b2751096b9a5f5ed8f87e6'
* commit 'b522000e9b2ca36fe5b2751096b9a5f5ed8f87e6':
avio: introduce avio_closep
mpegtsenc: set muxing type notification to verbose
vc1dec: Use correct spelling of "opposite"
a64multienc: change mc_frame_counter to unsigned
arm: call arm-specific rv34dsp init functions under if (ARCH_ARM)
svq1: Drop a bunch of useless parentheses
parseutils-test: do not print numerical error codes
svq1: K&R formatting cosmetics
Conflicts:
doc/APIchanges
libavcodec/svq1dec.c
libavcodec/svq1enc.c
libavformat/version.h
libavutil/parseutils.c
tests/ref/fate/parseutils
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/aviobuf.c')
-rw-r--r-- | libavformat/aviobuf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index 282a62e2b7..dc09a071fc 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -803,6 +803,13 @@ int avio_close(AVIOContext *s) return ffurl_close(h); } +int avio_closep(AVIOContext **s) +{ + int ret = avio_close(*s); + *s = NULL; + return ret; +} + int avio_printf(AVIOContext *s, const char *fmt, ...) { va_list ap; |