summaryrefslogtreecommitdiff
path: root/libavformat/swf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/swf.c')
-rw-r--r--libavformat/swf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/swf.c b/libavformat/swf.c
index f8f21462a3..eaf2e8d754 100644
--- a/libavformat/swf.c
+++ b/libavformat/swf.c
@@ -681,7 +681,7 @@ static int swf_read_header(AVFormatContext *s, AVFormatParameters *ap)
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;