aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/nut.h
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2013-10-22 16:11:11 +0100
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2013-10-22 17:09:56 +0100
commitb1fcdc08ceb5df69fac34aa0d57c56905d32b8b4 (patch)
tree3d16b192feac83cd9e9dd63ec322b05d8dcc5640 /libavformat/nut.h
parent3511d4fc9784d5fbb024dce68ca7a0d7fdd74663 (diff)
downloadffmpeg-b1fcdc08ceb5df69fac34aa0d57c56905d32b8b4.tar.gz
nut: Fix unchecked allocations
CC: libav-stable@libav.org Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavformat/nut.h')
-rw-r--r--libavformat/nut.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/nut.h b/libavformat/nut.h
index 6eddc96840..6357b3d2b1 100644
--- a/libavformat/nut.h
+++ b/libavformat/nut.h
@@ -118,7 +118,7 @@ void ff_nut_reset_ts(NUTContext *nut, AVRational time_base, int64_t val);
int64_t ff_lsb2full(StreamContext *stream, int64_t lsb);
int ff_nut_sp_pos_cmp(const Syncpoint *a, const Syncpoint *b);
int ff_nut_sp_pts_cmp(const Syncpoint *a, const Syncpoint *b);
-void ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts);
+int ff_nut_add_sp(NUTContext *nut, int64_t pos, int64_t back_ptr, int64_t ts);
void ff_nut_free_sp(NUTContext *nut);
extern const Dispositions ff_nut_dispositions[];