diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-04-15 13:51:57 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-04-15 13:51:57 +0000 |
commit | 57004ff1d71d8a592cf8d3a268526c4e10ebe976 (patch) | |
tree | 9f8cabeb4f34375206dfdc8973a321e3b0e716f7 /libavformat/asf.c | |
parent | cefd4907e37112bc1f7ec5e0f0f2f7247ecf8150 (diff) | |
download | ffmpeg-57004ff1d71d8a592cf8d3a268526c4e10ebe976.tar.gz |
add an enum for need_parsing
Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/asf.c')
-rw-r--r-- | libavformat/asf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c index 9dce1d751a..009dd7a94c 100644 --- a/libavformat/asf.c +++ b/libavformat/asf.c @@ -260,7 +260,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) st->codec->codec_id = CODEC_ID_NONE; st->codec->codec_tag = 0; } - st->need_parsing = 1; + st->need_parsing = AVSTREAM_PARSE_FULL; /* We have to init the frame size at some point .... */ pos2 = url_ftell(pb); if (gsize >= (pos2 + 8 - pos1 + 24)) { @@ -337,7 +337,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) st->codec->codec_tag = tag1; st->codec->codec_id = codec_get_id(codec_bmp_tags, tag1); if(tag1 == MKTAG('D', 'V', 'R', ' ')) - st->need_parsing = 1; + st->need_parsing = AVSTREAM_PARSE_FULL; } pos2 = url_ftell(pb); url_fskip(pb, gsize - (pos2 - pos1 + 24)); |