aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-31 16:14:22 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-03-31 16:14:22 +0200
commit65a646eb0b9ae8667c5ca992536aeda525cb89c3 (patch)
tree64050a47aaf52252cb373dfd3b823113b6dd74f5
parentc84b75c89c019fdf7d1b6e4094beb0d9c316731f (diff)
downloadffmpeg-65a646eb0b9ae8667c5ca992536aeda525cb89c3.tar.gz
avcodec/internal: Fix doxy for ff_alloc_packet2() return value
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/internal.h2
1 files changed, 1 insertions, 1 deletions
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);