]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Add multiframe note to avcodec_decode_video() too.
authormichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 27 Apr 2009 12:36:23 +0000 (12:36 +0000)
committermichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 27 Apr 2009 12:36:23 +0000 (12:36 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18702 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/avcodec.h

index fa39171050e337e716b7229debcf34763affa5d8..42179160b80775f1cb5096e1733994bf0a62e464 100644 (file)
@@ -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