[FFmpeg-devel] [PATCH] vc1testenc: give muxer same name as demuxer

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Dec 9 13:13:55 CET 2012


Otherwise ffmpeg -formats claims that we only support demuxing
of that format.
To keep compatibility the struct could be duplicated instead,
but this seems almost like overkill for such a rare format.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
 libavformat/vc1testenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/vc1testenc.c b/libavformat/vc1testenc.c
index e084516..9debf19 100644
--- a/libavformat/vc1testenc.c
+++ b/libavformat/vc1testenc.c
@@ -83,7 +83,7 @@ static int vc1test_write_trailer(AVFormatContext *s)
 }
 
 AVOutputFormat ff_vc1t_muxer = {
-    .name              = "rcv",
+    .name              = "vc1test",
     .long_name         = NULL_IF_CONFIG_SMALL("VC-1 test bitstream"),
     .extensions        = "rcv",
     .priv_data_size    = sizeof(RCVContext),
-- 
1.7.10.4



More information about the ffmpeg-devel mailing list