diff options
author | Nidhi Makhijani <nidhimj22@gmail.com> | 2014-07-14 11:52:44 +0530 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-07-17 03:18:46 -0700 |
commit | 324ff59444ff5470bb325ff1e2be7c4b054fc944 (patch) | |
tree | 787e31d54ea7f2b4f94e3aec84afbb62bb98c9e0 /libavformat/internal.h | |
parent | 2db953f84671997e936f91140ffb5143c1537844 (diff) | |
download | ffmpeg-324ff59444ff5470bb325ff1e2be7c4b054fc944.tar.gz |
avpacket: Check for and return errors in ff_interleave_add_packet()
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavformat/internal.h')
-rw-r--r-- | libavformat/internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h index 0e7eb36e32..2824436286 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -87,8 +87,8 @@ void ff_program_add_stream_index(AVFormatContext *ac, int progid, unsigned int i * Add packet to AVFormatContext->packet_buffer list, determining its * interleaved position using compare() function argument. */ -void ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt, - int (*compare)(AVFormatContext *, AVPacket *, AVPacket *)); +int ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt, + int (*compare)(AVFormatContext *, AVPacket *, AVPacket *)); void ff_read_frame_flush(AVFormatContext *s); |