From 65a646eb0b9ae8667c5ca992536aeda525cb89c3 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 31 Mar 2015 16:14:22 +0200 Subject: [PATCH] avcodec/internal: Fix doxy for ff_alloc_packet2() return value Signed-off-by: Michael Niedermayer --- libavcodec/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 3bf35df3d6..8128f0d835 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -195,7 +195,7 @@ int avpriv_unlock_avformat(void); * avpkt->size is set to the specified size. * All other AVPacket fields will be reset with av_init_packet(). * @param size the minimum required packet size - * @return 0 on success, negative error code on failure + * @return non negative on success, negative error code on failure */ int ff_alloc_packet2(AVCodecContext *avctx, AVPacket *avpkt, int64_t size);