Browse Source

asfdec: 10l, fix the minimum asf video stream header size

This fixes the regression test breakage.

Originally committed as revision 24354 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Martin Storsjö 15 years ago
parent
commit
d970ec7554
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/asfdec.c

+ 1
- 1
libavformat/asfdec.c View File

@@ -362,7 +362,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
break; break;
} }
} else if (type == AVMEDIA_TYPE_VIDEO && } else if (type == AVMEDIA_TYPE_VIDEO &&
gsize - (url_ftell(pb) - pos1 + 24) >= 53) {
gsize - (url_ftell(pb) - pos1 + 24) >= 51) {
get_le32(pb); get_le32(pb);
get_le32(pb); get_le32(pb);
get_byte(pb); get_byte(pb);


Loading…
Cancel
Save