From 43d70a776dcc770d5e52327b125ec5ce704e5148 Mon Sep 17 00:00:00 2001 From: Anshul Maheshwari Date: Wed, 2 Jul 2014 22:07:59 +0530 Subject: [PATCH] avcodec: Updated comment for sub param Signed-off-by: Michael Niedermayer --- libavcodec/avcodec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index f25636e610..178349a542 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -4086,8 +4086,8 @@ int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, * marked with CODEC_CAP_DELAY, then no subtitles will be returned. * * @param avctx the codec context - * @param[out] sub The AVSubtitle in which the decoded subtitle will be stored, must be - freed with avsubtitle_free if *got_sub_ptr is set. + * @param[out] sub The Preallocated AVSubtitle in which the decoded subtitle will be stored, + * must be freed with avsubtitle_free if *got_sub_ptr is set. * @param[in,out] got_sub_ptr Zero if no subtitle could be decompressed, otherwise, it is nonzero. * @param[in] avpkt The input AVPacket containing the input buffer. */