Commit 9ee4c893 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/utils: Add AV_PIX_FMT_GBRAP16?E to avcodec_align_dimensions2()

Found-by: kierank
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 2272ab0e
...@@ -351,6 +351,8 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, ...@@ -351,6 +351,8 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height,
case AV_PIX_FMT_GBRP14BE: case AV_PIX_FMT_GBRP14BE:
case AV_PIX_FMT_GBRP16LE: case AV_PIX_FMT_GBRP16LE:
case AV_PIX_FMT_GBRP16BE: case AV_PIX_FMT_GBRP16BE:
case AV_PIX_FMT_GBRAP16LE:
case AV_PIX_FMT_GBRAP16BE:
w_align = 16; //FIXME assume 16 pixel per macroblock w_align = 16; //FIXME assume 16 pixel per macroblock
h_align = 16 * 2; // interlaced needs 2 macroblocks height h_align = 16 * 2; // interlaced needs 2 macroblocks height
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment