Commit e8beaf5c authored by Laurent Aimar's avatar Laurent Aimar
Browse files

Support padded frames in DTS files (close #3274).

parent 5681ac36
......@@ -278,6 +278,14 @@ static void *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
return NULL;
}
if( p_sys->b_packetizer &&
p_header[0] == 0 && p_header[1] == 0 )
{
/* DTS wav files and audio CD's use stuffing */
p_sys->i_state = STATE_SEND_DATA;
break;
}
if( SyncCode( p_header ) != VLC_SUCCESS )
{
msg_Dbg( p_dec, "emulated sync word "
......
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