diff options
author | Roberto Togni <r_togni@tiscali.it> | 2006-10-13 18:21:28 +0000 |
---|---|---|
committer | Roberto Togni <r_togni@tiscali.it> | 2006-10-13 18:21:28 +0000 |
commit | 12b6992b6f25073b32773f344cb34e4864508858 (patch) | |
tree | 78bd0b7cab2137bb2e970af22c09f72973bba7ae /libavformat | |
parent | b566bd65e211beecfc7fbeb22bae732d3a5d26a4 (diff) | |
download | ffmpeg-12b6992b6f25073b32773f344cb34e4864508858.tar.gz |
flv files from myspace with mp3 audio require need_parsing because the
frames are fragmented.
Originally committed as revision 6686 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-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 d2b2b44ffb..f9eefb197d 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -176,7 +176,7 @@ static int flv_read_packet(AVFormatContext *s, AVPacket *pkt) case 0: if (flags&2) st->codec->codec_id = CODEC_ID_PCM_S16BE; else st->codec->codec_id = CODEC_ID_PCM_S8; break; case 1: st->codec->codec_id = CODEC_ID_ADPCM_SWF; break; - case 2: st->codec->codec_id = CODEC_ID_MP3; break; + case 2: st->codec->codec_id = CODEC_ID_MP3; st->need_parsing = 1; break; // this is not listed at FLV but at SWF, strange... case 3: if (flags&2) st->codec->codec_id = CODEC_ID_PCM_S16LE; else st->codec->codec_id = CODEC_ID_PCM_S8; break; |