[FFmpeg-cvslog] r9527 - trunk/libavformat/avienc.c
mru
subversion
Sun Jul 8 03:41:06 CEST 2007
Author: mru
Date: Sun Jul 8 03:41:06 2007
New Revision: 9527
Log:
remove redundant codec_get_bmp_tag() call in avi_write_header()
it is incorrect and av_write_header() already does the right thing
Modified:
trunk/libavformat/avienc.c
Modified: trunk/libavformat/avienc.c
==============================================================================
--- trunk/libavformat/avienc.c (original)
+++ trunk/libavformat/avienc.c Sun Jul 8 03:41:06 2007
@@ -197,11 +197,6 @@ static int avi_write_header(AVFormatCont
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) {
More information about the ffmpeg-cvslog
mailing list