mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
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
This commit is contained in:
parent
7fd7259a3f
commit
bf41512100
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user