Commit 54321562 authored by mru's avatar mru

remove redundant codec_get_bmp_tag() call in avi_write_header()

it is incorrect and av_write_header() already does the right thing


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9527 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7299f5ca
......@@ -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) {
......
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