[FFmpeg-devel] [PATCH] add missing long_name for amv and dca encoder

Paul B Mahol onemda at gmail.com
Sat Dec 10 04:29:41 CET 2011


---
 libavcodec/dcaenc.c   |    1 +
 libavcodec/mjpegenc.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavcodec/dcaenc.c b/libavcodec/dcaenc.c
index eccff08..72ea16f 100644
--- a/libavcodec/dcaenc.c
+++ b/libavcodec/dcaenc.c
@@ -583,4 +583,5 @@ AVCodec ff_dca_encoder = {
     .encode         = encode_frame,
     .capabilities   = CODEC_CAP_EXPERIMENTAL,
     .sample_fmts    = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
+    .long_name      = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"),
 };
diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c
index 228b616..0fd5e5a 100644
--- a/libavcodec/mjpegenc.c
+++ b/libavcodec/mjpegenc.c
@@ -491,4 +491,5 @@ AVCodec ff_amv_encoder = {
     .encode         = amv_encode_picture,
     .close          = MPV_encode_end,
     .pix_fmts= (enum PixelFormat[]){PIX_FMT_YUVJ420P, PIX_FMT_YUVJ422P, -1},
+    .long_name      = NULL_IF_CONFIG_SMALL("AMV Video"),
 };
-- 
1.7.7



More information about the ffmpeg-devel mailing list