avcodec/internal: Fix doxy for ff_alloc_packet2() return value

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2015-03-31 16:14:22 +02:00
parent c84b75c89c
commit 65a646eb0b
1 changed files with 1 additions and 1 deletions

View File

@ -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);