diff swf.c @ 2023:a3e79d6e4e3c libavformat

add an enum for need_parsing
author aurel
date Sun, 15 Apr 2007 13:51:57 +0000
parents 1a3c9056982a
children 3804e39efbfd
line wrap: on
line diff
--- a/swf.c	Sun Apr 15 12:35:44 2007 +0000
+++ b/swf.c	Sun Apr 15 13:51:57 2007 +0000
@@ -681,7 +681,7 @@
             ast->codec->channels = 1 + (v&1);
             ast->codec->codec_type = CODEC_TYPE_AUDIO;
             ast->codec->codec_id = codec_get_id(swf_audio_codec_tags, (v>>4) & 15);
-            ast->need_parsing = 1;
+            ast->need_parsing = AVSTREAM_PARSE_FULL;
             sample_rate_code= (v>>2) & 3;
             if (!sample_rate_code)
                 return AVERROR_IO;