Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
e8beaf5c
Commit
e8beaf5c
authored
Jan 30, 2010
by
Laurent Aimar
Browse files
Support padded frames in DTS files (close #3274).
parent
5681ac36
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/codec/dts.c
View file @
e8beaf5c
...
...
@@ -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 "
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment