Commit c482ee92 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: ts: fix avc probing

parent 4a7f60c8
......@@ -807,7 +807,7 @@ static void ProbePES( demux_t *p_demux, ts_pid_t *pid, const uint8_t *p_pesstart
/* VIDEO STREAM */
else if( p_pes[3] >= 0xE0 && p_pes[3] <= 0xEF )
{
if( !memcmp( p_data, "\x00\x00\x00", 4 ) )
if( !memcmp( p_data, "\x00\x00\x00\x01", 4 ) )
{
pid->probed.i_type = 0x1b;
pid->probed.i_fourcc = VLC_CODEC_H264;
......
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