Commit a3000b80 authored by rtogni's avatar rtogni

flv files from myspace with mp3 audio require need_parsing because the

frames are fragmented.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6686 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d3530795
...@@ -176,7 +176,7 @@ static int flv_read_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -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; case 0: if (flags&2) st->codec->codec_id = CODEC_ID_PCM_S16BE;
else st->codec->codec_id = CODEC_ID_PCM_S8; break; else st->codec->codec_id = CODEC_ID_PCM_S8; break;
case 1: st->codec->codec_id = CODEC_ID_ADPCM_SWF; 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... // this is not listed at FLV but at SWF, strange...
case 3: if (flags&2) st->codec->codec_id = CODEC_ID_PCM_S16LE; case 3: if (flags&2) st->codec->codec_id = CODEC_ID_PCM_S16LE;
else st->codec->codec_id = CODEC_ID_PCM_S8; break; else st->codec->codec_id = CODEC_ID_PCM_S8; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment