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/swf.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/swf.c')
-rw-r--r-- | libavformat/swf.c | 2 |
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; |