Mercurial > libavformat.hg
changeset 1385:8aa2dc127eb8 libavformat
flv files from myspace with mp3 audio require need_parsing because the
frames are fragmented.
author | rtogni |
---|---|
date | Fri, 13 Oct 2006 18:21:28 +0000 |
parents | 56c4d97618f2 |
children | 3e12e3ca0ce3 |
files | flvdec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flvdec.c Fri Oct 13 10:48:29 2006 +0000 +++ b/flvdec.c Fri Oct 13 18:21:28 2006 +0000 @@ -176,7 +176,7 @@ 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;