Skip to content
Browse files

libopenjpegenc: cosmetics: reorder pix_fmts

Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
  • Loading branch information...
1 parent 7544ef7 commit 713a7854e06964abc8f7d015b94acbed27769d24 Michael Bradshaw committed Jul 3, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 libavcodec/libopenjpegenc.c
View
10 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:

0 comments on commit 713a785

Please sign in to comment.
Something went wrong with that request. Please try again.