|
|
@@ -329,6 +329,9 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st, AVProbeDa |
|
|
|
} else if (!strcmp(fmt->name, "ac3")) { |
|
|
|
st->codec->codec_id = CODEC_ID_AC3; |
|
|
|
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")) { |
|
|
|
st->codec->codec_id = CODEC_ID_MPEG2VIDEO; |
|
|
|
st->codec->codec_type = CODEC_TYPE_VIDEO; |
|
|
|