OSDN Git Service

mention avcodec_align_dimensions()
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 13 May 2004 19:08:39 +0000 (19:08 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 13 May 2004 19:08:39 +0000 (19:08 +0000)
Originally committed as revision 3136 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/avcodec.h

index fe4aeb2..f4605be 100644 (file)
@@ -897,7 +897,8 @@ typedef struct AVCodecContext {
     /**
      * called at the beginning of each frame to get a buffer for it.
      * if pic.reference is set then the frame will be read later by lavc
-     * width and height should be rounded up to the next multiple of 16
+     * avcodec_align_dimensions() should be used to find the required width and
+     * height, as they normally need to be rounded up to the next multiple of 16
      * - encoding: unused
      * - decoding: set by lavc, user can override
      */