Browse Source

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
tags/v0.5
Måns Rullgård 18 years ago
parent
commit
7ea18c8c1e
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      libavformat/avienc.c

+ 0
- 5
libavformat/avienc.c View File

@@ -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) {


Loading…
Cancel
Save