Mercurial > libavformat.hg
diff flvdec.c @ 2023:a3e79d6e4e3c libavformat
add an enum for need_parsing
author | aurel |
---|---|
date | Sun, 15 Apr 2007 13:51:57 +0000 |
parents | 1a3c9056982a |
children | 1c30ea3c0fcf |
line wrap: on
line diff
--- a/flvdec.c Sun Apr 15 12:35:44 2007 +0000 +++ b/flvdec.c Sun Apr 15 13:51:57 2007 +0000 @@ -47,7 +47,7 @@ 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: