Commit a3652f12 authored by cehoyos's avatar cehoyos

Allow autodetection of E-AC3.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20206 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 03e358e6
...@@ -329,6 +329,9 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st, AVProbeDa ...@@ -329,6 +329,9 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st, AVProbeDa
} else if (!strcmp(fmt->name, "ac3")) { } else if (!strcmp(fmt->name, "ac3")) {
st->codec->codec_id = CODEC_ID_AC3; st->codec->codec_id = CODEC_ID_AC3;
st->codec->codec_type = CODEC_TYPE_AUDIO; st->codec->codec_type = CODEC_TYPE_AUDIO;
} else if (!strcmp(fmt->name, "eac3")) {
st->codec->codec_id = CODEC_ID_EAC3;
st->codec->codec_type = CODEC_TYPE_AUDIO;
} else if (!strcmp(fmt->name, "mpegvideo")) { } else if (!strcmp(fmt->name, "mpegvideo")) {
st->codec->codec_id = CODEC_ID_MPEG2VIDEO; st->codec->codec_id = CODEC_ID_MPEG2VIDEO;
st->codec->codec_type = CODEC_TYPE_VIDEO; st->codec->codec_type = CODEC_TYPE_VIDEO;
......
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