Mercurial > libavformat.hg
diff asf.c @ 2023:a3e79d6e4e3c libavformat
add an enum for need_parsing
author | aurel |
---|---|
date | Sun, 15 Apr 2007 13:51:57 +0000 |
parents | 0d9b233dff9b |
children | ebc45cc020b7 |
line wrap: on
line diff
--- a/asf.c Sun Apr 15 12:35:44 2007 +0000 +++ b/asf.c Sun Apr 15 13:51:57 2007 +0000 @@ -260,7 +260,7 @@ 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 @@ 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));