Set lavf identification string globally in av_write_header(), rather

than inside the muxers. Remove special handling of "encoder" tags from
AVI and MP3 muxers.

Patch by Anton Khirnov <wyskas gmail com>.

Originally committed as revision 21850 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Anton Khirnov
2010-02-16 16:32:25 +00:00
committed by Ronald S. Bultje
parent 114315994b
commit ed7694d8cf
6 changed files with 20 additions and 10 deletions

View File

@ -376,8 +376,6 @@ static int avi_write_header(AVFormatContext *s)
if ((t = av_metadata_get(s->metadata, ff_avi_tags[i], NULL, AV_METADATA_MATCH_CASE)))
avi_write_info_tag(s->pb, t->key, t->value);
}
if(!(s->streams[0]->codec->flags & CODEC_FLAG_BITEXACT))
avi_write_info_tag(pb, "ISFT", LIBAVFORMAT_IDENT);
ff_end_tag(pb, list2);
/* some padding for easier tag editing */