Fix a typo that made VMD demuxer always assume Indeo 3 as video codec.

Spotted by Robert Swain

Originally committed as revision 16371 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Kostya Shishkov 16 years ago
parent 5d91e92853
commit 5b3658f73b
  1. 2
      libavformat/sierravmd.c

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

Loading…
Cancel
Save