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
22267913
Commit
22267913
authored
Nov 27, 2003
by
Laurent Aimar
Browse files
* faad: drop packets with b_discontinuity set.
parent
7de8c209
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/codec/faad.c
View file @
22267913
...
...
@@ -2,7 +2,7 @@
* decoder.c: AAC decoder using libfaad2
*****************************************************************************
* Copyright (C) 2001, 2003 VideoLAN
* $Id: faad.c,v 1.
5
2003/11/2
2
2
3:39:14
fenrir Exp $
* $Id: faad.c,v 1.
6
2003/11/2
7
2
0:51:31
fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -164,6 +164,12 @@ static aout_buffer_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
p_block
=
*
pp_block
;
if
(
p_block
->
b_discontinuity
)
{
block_Release
(
p_block
);
return
NULL
;
}
/* Append the block to the temporary buffer */
if
(
p_sys
->
i_buffer_size
<
p_sys
->
i_buffer
+
p_block
->
i_buffer
)
{
...
...
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