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/flvdec.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/flvdec.c')
-rw-r--r-- | libavformat/flvdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 3278cdcff8..1f8035d859 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -47,7 +47,7 @@ static void flv_set_audio_codec(AVFormatContext *s, AVStream *astream, int flv_c case FLV_CODECID_PCM_LE: acodec->codec_id = acodec->bits_per_sample == 8 ? CODEC_ID_PCM_S8 : CODEC_ID_PCM_S16LE; break; case FLV_CODECID_ADPCM: acodec->codec_id = CODEC_ID_ADPCM_SWF; break; - case FLV_CODECID_MP3 : acodec->codec_id = CODEC_ID_MP3 ; astream->need_parsing = 1 ; break; + case FLV_CODECID_MP3 : acodec->codec_id = CODEC_ID_MP3 ; astream->need_parsing = AVSTREAM_PARSE_FULL; break; case FLV_CODECID_NELLYMOSER_8HZ_MONO: acodec->sample_rate = 8000; //in case metadata does not otherwise declare samplerate case FLV_CODECID_NELLYMOSER: |