From 2b5296d26bc5d71ede854ccfbc1ebc2a35a733ea Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Thu, 13 May 2004 19:08:39 +0000
Subject: [PATCH] mention avcodec_align_dimensions()

Originally committed as revision 3136 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/avcodec.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index fe4aeb2c8bb..f4605bec817 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -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
      */
-- 
GitLab