Mercurial > libavformat.hg
diff rmdec.c @ 2585:ecd8a9aa182d libavformat
dnet audio needs avparser to work with the lavc ac3 decoder.
Fixes issue 121
Patch by Justin Ruggles
author | rtogni |
---|---|
date | Mon, 01 Oct 2007 19:48:02 +0000 |
parents | 5faceca0b5d6 |
children | 67667d13bab5 |
line wrap: on
line diff
--- a/rmdec.c Sat Sep 29 22:47:34 2007 +0000 +++ b/rmdec.c Mon Oct 01 19:48:02 2007 +0000 @@ -113,6 +113,7 @@ st->codec->codec_type = CODEC_TYPE_AUDIO; if (!strcmp(buf, "dnet")) { st->codec->codec_id = CODEC_ID_AC3; + st->need_parsing = AVSTREAM_PARSE_FULL; } else if (!strcmp(buf, "28_8")) { st->codec->codec_id = CODEC_ID_RA_288; st->codec->extradata_size= 0;