Commit 5b3658f7 authored by Kostya Shishkov's avatar Kostya Shishkov

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
parent 5d91e928
...@@ -95,7 +95,7 @@ static int vmd_read_header(AVFormatContext *s, ...@@ -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') if(vmd->vmd_header[16] == 'i' && vmd->vmd_header[17] == 'v' && vmd->vmd_header[18] == '3')
vmd->is_indeo3 = 1; vmd->is_indeo3 = 1;
else else
vmd->is_indeo3 = 1; vmd->is_indeo3 = 0;
/* start up the decoders */ /* start up the decoders */
vst = av_new_stream(s, 0); vst = av_new_stream(s, 0);
if (!vst) if (!vst)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment