[FFmpeg-cvslog] lavc: add PIX_FMT_GBR24P to align_dimensions()

Michael Niedermayer git at videolan.org
Sun Oct 23 13:47:26 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Oct 23 13:39:11 2011 +0200| [67341f6a7742275017e6eee18fd25c1ec7770f79] | committer: Michael Niedermayer

lavc: add PIX_FMT_GBR24P to align_dimensions()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=67341f6a7742275017e6eee18fd25c1ec7770f79
---

 libavcodec/utils.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 06d375d..719ef5f 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -166,6 +166,7 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, int l
     case PIX_FMT_YUV444P9BE:
     case PIX_FMT_YUV444P10LE:
     case PIX_FMT_YUV444P10BE:
+    case PIX_FMT_GBR24P:
         w_align= 16; //FIXME check for non mpeg style codecs and use less alignment
         h_align= 16;
         if(s->codec_id == CODEC_ID_MPEG2VIDEO || s->codec_id == CODEC_ID_MJPEG || s->codec_id == CODEC_ID_AMV || s->codec_id == CODEC_ID_THP || s->codec_id == CODEC_ID_H264 || s->codec_id == CODEC_ID_PRORES)



More information about the ffmpeg-cvslog mailing list