Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
c19154da
Commit
c19154da
authored
May 04, 2003
by
Laurent Aimar
Browse files
* mpga_audio: should fix an infinite loop when miss-detected free
bitrate stream.
parent
735fedde
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/codec/mpeg_audio.c
View file @
c19154da
...
...
@@ -2,7 +2,7 @@
* mpeg_audio.c: parse MPEG audio sync info and packetize the stream
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: mpeg_audio.c,v 1.1
4
2003/0
3/31 22:39:28 massiot
Exp $
* $Id: mpeg_audio.c,v 1.1
5
2003/0
5/04 10:46:28 fenrir
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org>
...
...
@@ -357,6 +357,9 @@ static int RunDecoder( decoder_fifo_t *p_fifo )
i_next_layer
!=
i_new_layer
)
{
/* This is an emulated start code, try again. */
/* there is at least 1 byte free */
((
uint8_t
*
)
p_buffer
->
p_buffer
)[
i
++
]
=
GetBits
(
&
p_dec
->
bit_stream
,
8
);
continue
;
}
i_free_frame_size
=
i
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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