mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 06:03:45 +01:00
search ac3 in dvd substream only if pes_aligned flag is set in the pes headers, otherwise false positives are likely to occur
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18461 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7a4c832222
commit
dd9d768293
@ -1309,7 +1309,7 @@ static int pes_parse2(unsigned char *buf, uint16_t packet_len, ES_stream_t *es,
|
||||
|
||||
return 1;
|
||||
}
|
||||
else if ((p[0] & 0xF8) == 0x80)
|
||||
else if (pes_is_aligned && (p[0] & 0xF8) == 0x80)
|
||||
{
|
||||
mp_msg(MSGT_DEMUX, MSGL_DBG2, "A52 WITH HEADER\n");
|
||||
es->start = p+4;
|
||||
|
Loading…
Reference in New Issue
Block a user