Commit 7ea18c8c authored by Måns Rullgård's avatar Måns Rullgård

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
parent 58e28fd5
...@@ -197,11 +197,6 @@ static int avi_write_header(AVFormatContext *s) ...@@ -197,11 +197,6 @@ static int avi_write_header(AVFormatContext *s)
stream = s->streams[i]->codec; 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 */ /* stream generic header */
strh = start_tag(pb, "strh"); strh = start_tag(pb, "strh");
switch(stream->codec_type) { switch(stream->codec_type) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment