set default subtitle_codec for ass muxer
authorAurelien Jacobs <aurel@gnuage.org>
Sat, 4 Dec 2010 00:47:12 +0000 (00:47 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Sat, 4 Dec 2010 00:47:12 +0000 (00:47 +0000)
Originally committed as revision 25870 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/assenc.c

index 3be4334..bc1d7de 100644 (file)
@@ -83,6 +83,7 @@ AVOutputFormat ass_muxer = {
     .mime_type      = "text/x-ssa",
     .extensions     = "ass,ssa",
     .priv_data_size = sizeof(ASSContext),
+    .subtitle_codec = CODEC_ID_SSA,
     .write_header   = write_header,
     .write_packet   = write_packet,
     .write_trailer  = write_trailer,