[FFmpeg-cvslog] libopenjpegenc: cosmetics: reorder pix_fmts

Michael Bradshaw git at videolan.org
Thu Jul 5 12:22:08 CEST 2012


ffmpeg | branch: master | Michael Bradshaw <mbradshaw at sorensonmedia.com> | Tue Jul  3 11:33:41 2012 -0600| [713a7854e06964abc8f7d015b94acbed27769d24] | committer: Michael Bradshaw

libopenjpegenc: cosmetics: reorder pix_fmts

Signed-off-by: Michael Bradshaw <mbradshaw at sorensonmedia.com>

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

 libavcodec/libopenjpegenc.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/libavcodec/libopenjpegenc.c b/libavcodec/libopenjpegenc.c
index 2b0238f..96cca28 100644
--- a/libavcodec/libopenjpegenc.c
+++ b/libavcodec/libopenjpegenc.c
@@ -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:



More information about the ffmpeg-cvslog mailing list