diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-10-23 13:39:11 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-10-23 13:45:20 +0200 |
commit | 67341f6a7742275017e6eee18fd25c1ec7770f79 (patch) | |
tree | 2bf7c019875ba80de50aa4b5c507f56ee1fe4932 | |
parent | 6f5b4ce612d42a152cd0dea104e4f1502a1f1952 (diff) | |
download | ffmpeg-67341f6a7742275017e6eee18fd25c1ec7770f79.tar.gz |
lavc: add PIX_FMT_GBR24P to align_dimensions()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 06d375d815..719ef5f3cf 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) |