j2kdec: Remove useless .pix_fmts.
authorPaul B Mahol <onemda@gmail.com>
Mon, 26 Mar 2012 23:32:30 +0000 (23:32 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 27 Mar 2012 01:29:25 +0000 (03:29 +0200)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/j2kdec.c

index 47d0915..029cd4e 100644 (file)
@@ -1098,6 +1098,4 @@ AVCodec ff_jpeg2000_decoder = {
     .decode         = decode_frame,
     .capabilities = CODEC_CAP_EXPERIMENTAL,
     .long_name = NULL_IF_CONFIG_SMALL("JPEG 2000"),
-    .pix_fmts =
-        (const enum PixelFormat[]) {PIX_FMT_GRAY8, PIX_FMT_RGB24, PIX_FMT_NONE}
 };