Fix a typo that made VMD demuxer always assume Indeo 3 as video codec.
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 28 Dec 2008 16:22:42 +0000 (16:22 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 28 Dec 2008 16:22:42 +0000 (16:22 +0000)
Spotted by Robert Swain

Originally committed as revision 16371 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/sierravmd.c

index c3d058b..1e15a22 100644 (file)
@@ -95,7 +95,7 @@ static int vmd_read_header(AVFormatContext *s,
     if(vmd->vmd_header[16] == 'i' && vmd->vmd_header[17] == 'v' && vmd->vmd_header[18] == '3')
         vmd->is_indeo3 = 1;
     else
-        vmd->is_indeo3 = 1;
+        vmd->is_indeo3 = 0;
     /* start up the decoders */
     vst = av_new_stream(s, 0);
     if (!vst)