changeset 2227:8cf17fde9a1c libavformat

remove redundant codec_get_bmp_tag() call in avi_write_header() it is incorrect and av_write_header() already does the right thing
author mru
date Sun, 08 Jul 2007 01:41:06 +0000
parents c2ad35fbbd30
children 9c2823ab0146
files avienc.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/avienc.c	Sat Jul 07 20:50:31 2007 +0000
+++ b/avienc.c	Sun Jul 08 01:41:06 2007 +0000
@@ -197,11 +197,6 @@
 
         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) {