changeset 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 4630871ef965
children 1813683cc888
files rmdec.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;