Commit dc7560fe authored by rtogni's avatar rtogni

dnet audio needs avparser to work with the lavc ac3 decoder.

Fixes issue 121
Patch by Justin Ruggles


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10634 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9302e38f
...@@ -113,6 +113,7 @@ static int rm_read_audio_stream_info(AVFormatContext *s, AVStream *st, ...@@ -113,6 +113,7 @@ static int rm_read_audio_stream_info(AVFormatContext *s, AVStream *st,
st->codec->codec_type = CODEC_TYPE_AUDIO; st->codec->codec_type = CODEC_TYPE_AUDIO;
if (!strcmp(buf, "dnet")) { if (!strcmp(buf, "dnet")) {
st->codec->codec_id = CODEC_ID_AC3; st->codec->codec_id = CODEC_ID_AC3;
st->need_parsing = AVSTREAM_PARSE_FULL;
} else if (!strcmp(buf, "28_8")) { } else if (!strcmp(buf, "28_8")) {
st->codec->codec_id = CODEC_ID_RA_288; st->codec->codec_id = CODEC_ID_RA_288;
st->codec->extradata_size= 0; st->codec->extradata_size= 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment