X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fhevc.h;h=0f56325c1cda784c0b8476c7c0ce7e460a027307;hb=d92f38c179591a608390ffa9fee59c309142e79d;hp=1e355cd34ad4e9cc1da46bab4396ce65a42af39a;hpb=680cd59bb21c7bce92789ff885c018207b0b90bc;p=ffmpeg diff --git a/libavformat/hevc.h b/libavformat/hevc.h index 1e355cd34ad..0f56325c1cd 100644 --- a/libavformat/hevc.h +++ b/libavformat/hevc.h @@ -71,8 +71,9 @@ 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 the amount (in bytes) of data written in case of success, a negative - * value corresponding to an AVERROR code in case of failure + * @return 0 in case of success, a negative value corresponding to an AVERROR + * code in case of failure + * @note *buf_out will be treated as uninitialized on input and won't be freed. */ int ff_hevc_annexb2mp4_buf(const uint8_t *buf_in, uint8_t **buf_out, int *size, int filter_ps, int *ps_count);