[FFmpeg-cvslog] r10634 - trunk/libavformat/rmdec.c

rtogni subversion
Mon Oct 1 21:48:02 CEST 2007


Author: rtogni
Date: Mon Oct  1 21:48:02 2007
New Revision: 10634

Log:
dnet audio needs avparser to work with the lavc ac3 decoder.
Fixes issue 121
Patch by Justin Ruggles


Modified:
   trunk/libavformat/rmdec.c

Modified: trunk/libavformat/rmdec.c
==============================================================================
--- trunk/libavformat/rmdec.c	(original)
+++ trunk/libavformat/rmdec.c	Mon Oct  1 21:48:02 2007
@@ -113,6 +113,7 @@ static int rm_read_audio_stream_info(AVF
         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;




More information about the ffmpeg-cvslog mailing list