libopenjpegenc: cosmetics: reorder pix_fmts
authorMichael Bradshaw <mbradshaw@sorensonmedia.com>
Tue, 3 Jul 2012 17:33:41 +0000 (11:33 -0600)
committerMichael Bradshaw <mbradshaw@sorensonmedia.com>
Wed, 4 Jul 2012 14:37:46 +0000 (08:37 -0600)
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
libavcodec/libopenjpegenc.c

index 2b0238f..96cca28 100644 (file)
@@ -356,20 +356,20 @@ static int libopenjpeg_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
         break;
     case PIX_FMT_GRAY16:
     case PIX_FMT_YUV420P9:
-    case PIX_FMT_YUV420P10:
-    case PIX_FMT_YUV420P16:
     case PIX_FMT_YUV422P9:
-    case PIX_FMT_YUV422P10:
-    case PIX_FMT_YUV422P16:
     case PIX_FMT_YUV444P9:
     case PIX_FMT_YUV444P10:
-    case PIX_FMT_YUV444P16:
+    case PIX_FMT_YUV422P10:
+    case PIX_FMT_YUV420P10:
     case PIX_FMT_YUV420P12:
     case PIX_FMT_YUV422P12:
     case PIX_FMT_YUV444P12:
     case PIX_FMT_YUV420P14:
     case PIX_FMT_YUV422P14:
     case PIX_FMT_YUV444P14:
+    case PIX_FMT_YUV444P16:
+    case PIX_FMT_YUV422P16:
+    case PIX_FMT_YUV420P16:
         cpyresult = libopenjpeg_copy_unpacked16(avctx, frame, image);
         break;
     default: