diff options
author | Måns Rullgård <mans@mansr.com> | 2007-07-08 01:41:06 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-07-08 01:41:06 +0000 |
commit | 7ea18c8c1ec1cc95f67a4aaa383db34979c2869b (patch) | |
tree | 363a07ca56ef6aabf681686f19e1a5829635784e /libavformat/avienc.c | |
parent | 58e28fd5c4e24403985f99cea9ee655c6bcebb06 (diff) | |
download | ffmpeg-streaming-7ea18c8c1ec1cc95f67a4aaa383db34979c2869b.zip ffmpeg-streaming-7ea18c8c1ec1cc95f67a4aaa383db34979c2869b.tar.gz |
remove redundant codec_get_bmp_tag() call in avi_write_header()
it is incorrect and av_write_header() already does the right thing
Originally committed as revision 9527 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avienc.c')
-rw-r--r-- | libavformat/avienc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c index ac8b267..8f379e9 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -197,11 +197,6 @@ static int avi_write_header(AVFormatContext *s) stream = s->streams[i]->codec; - /* FourCC should really be set by the codec itself */ - if (! stream->codec_tag) { - stream->codec_tag = codec_get_bmp_tag(stream->codec_id); - } - /* stream generic header */ strh = start_tag(pb, "strh"); switch(stream->codec_type) { |