mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
lavf/mpeg: Do not detect unknown audio in Hikvision streams as alaw.
This commit is contained in:
parent
70c0433525
commit
ee8c18387d
@ -550,7 +550,7 @@ redo:
|
||||
codec_id = AV_CODEC_ID_ADPCM_ADX;
|
||||
// Auto-detect AC-3
|
||||
request_probe = 50;
|
||||
} else if (m->imkh_cctv && startcode == 0x1c0) {
|
||||
} else if (m->imkh_cctv && startcode == 0x1c0 && len > 80) {
|
||||
codec_id = AV_CODEC_ID_PCM_ALAW;
|
||||
request_probe = 50;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user