summaryrefslogtreecommitdiff
path: root/libavformat/rmdec.c
diff options
context:
space:
mode:
authorJustin Ruggles <jruggle@earthlink.net>2007-10-01 19:48:02 +0000
committerRoberto Togni <r_togni@tiscali.it>2007-10-01 19:48:02 +0000
commitbf41512100a0003eb2929173127a31c54e8b95e8 (patch)
treeb97df0a695cc37f920f43d3ef673ab5ed34e4da7 /libavformat/rmdec.c
parent7fd7259a3f1c389cc38e9e102ac3b8aa6808456c (diff)
dnet audio needs avparser to work with the lavc ac3 decoder.
Fixes issue 121 Patch by Justin Ruggles Originally committed as revision 10634 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r--libavformat/rmdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index 47f7cf11a4..bddc01144b 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -113,6 +113,7 @@ static int rm_read_audio_stream_info(AVFormatContext *s, AVStream *st,
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;