libopenjpeg: make .long_name usefull
authorPaul B Mahol <onemda@gmail.com>
Sat, 24 Mar 2012 00:12:16 +0000 (00:12 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 24 Mar 2012 04:45:57 +0000 (05:45 +0100)
Fixes following strange output:

DEV D  libopenjpeg     OpenJPEG based JPEG 2000 encoder

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libopenjpegdec.c
libavcodec/libopenjpegenc.c

index 89bfb34..29724a2 100644 (file)
@@ -361,6 +361,6 @@ AVCodec ff_libopenjpeg_decoder = {
     .decode         = libopenjpeg_decode_frame,
     .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS,
     .max_lowres     = 5,
-    .long_name      = NULL_IF_CONFIG_SMALL("OpenJPEG based JPEG 2000 decoder"),
+    .long_name      = NULL_IF_CONFIG_SMALL("OpenJPEG JPEG 2000"),
     .init_thread_copy = ONLY_IF_THREADS_ENABLED(libopenjpeg_decode_init_thread_copy)
 };
index 30cc022..ca3e52c 100644 (file)
@@ -441,5 +441,5 @@ AVCodec ff_libopenjpeg_encoder = {
                                            PIX_FMT_YUV420P10,PIX_FMT_YUV422P10,PIX_FMT_YUV444P10,
                                            PIX_FMT_YUV420P16,PIX_FMT_YUV422P16,PIX_FMT_YUV444P16,
                                            PIX_FMT_NONE},
-    .long_name = NULL_IF_CONFIG_SMALL("OpenJPEG based JPEG 2000 encoder"),
+    .long_name = NULL_IF_CONFIG_SMALL("OpenJPEG JPEG 2000"),
 } ;