From 57004ff1d71d8a592cf8d3a268526c4e10ebe976 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Sun, 15 Apr 2007 13:51:57 +0000 Subject: add an enum for need_parsing Originally committed as revision 8742 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/swf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/swf.c') 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; -- cgit v1.2.3