utils: add yvyu422 to avcodec_align_dimensions2
authorVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 15 Apr 2014 13:47:30 +0000 (15:47 +0200)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Sat, 19 Apr 2014 14:20:58 +0000 (16:20 +0200)
libavcodec/utils.c

index d9832e2..34c886e 100644 (file)
@@ -189,6 +189,7 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height,
     switch (s->pix_fmt) {
     case AV_PIX_FMT_YUV420P:
     case AV_PIX_FMT_YUYV422:
+    case AV_PIX_FMT_YVYU422:
     case AV_PIX_FMT_UYVY422:
     case AV_PIX_FMT_YUV422P:
     case AV_PIX_FMT_YUV440P: