From 34bbc81de8a49fbddb92b76dc733f40890480b2b Mon Sep 17 00:00:00 2001 From: Tim Walker Date: Mon, 10 Mar 2014 15:03:13 +0000 Subject: lavf: simplify ff_hevc_annexb2mp4_buf Use ff_hevc_annexb2mp4 instead of duplicating its functionality, and update the documentation to match the new behavior. --- libavformat/hevc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/hevc.h') diff --git a/libavformat/hevc.h b/libavformat/hevc.h index f394342028..03c43bd471 100644 --- a/libavformat/hevc.h +++ b/libavformat/hevc.h @@ -71,8 +71,8 @@ int ff_hevc_annexb2mp4(AVIOContext *pb, const uint8_t *buf_in, * or to discard them (non-zero) * @param ps_count address of the variable where the number of discarded * parameter set NAL units shall be written, may be NULL - * @return 0 in case of success, a negative value corresponding to an AVERROR - * code in case of failure + * @return the amount (in bytes) of data written in case of success, a negative + * value corresponding to an AVERROR code in case of failure */ int ff_hevc_annexb2mp4_buf(const uint8_t *buf_in, uint8_t **buf_out, int *size, int filter_ps, int *ps_count); -- cgit v1.2.3