From 4d24c24fcb37fbc51501224526d4282951e93842 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 27 Apr 2009 12:36:23 +0000 Subject: [PATCH] Add multiframe note to avcodec_decode_video() too. Originally committed as revision 18702 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/avcodec.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index fa39171050..42179160b8 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3126,6 +3126,8 @@ attribute_deprecated int avcodec_decode_video(AVCodecContext *avctx, AVFrame *pi /** * Decodes the video frame of size avpkt->size from avpkt->data into picture. + * Some decoders may support multiple frames in a single AVPacket, such + * decoders would then just decode the first frame. * * @warning The input buffer must be \c FF_INPUT_BUFFER_PADDING_SIZE larger than * the actual read bytes because some optimized bitstream readers read 32 or 64