lavf/mpeg: Support more audio codecs in Hikvision CCTV recordings.

Fixes a sample from ticket #4182.
This commit is contained in:
Carl Eugen Hoyos 2015-04-03 20:58:20 +02:00
parent 5b97681eaa
commit f8413f74a1

View File

@ -549,6 +549,8 @@ redo:
request_probe = 50;
} else {
codec_id = AV_CODEC_ID_MP2;
if (m->imkh_cctv)
request_probe = 25;
}
} else if (startcode >= 0x80 && startcode <= 0x87) {
type = AVMEDIA_TYPE_AUDIO;