Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
c19154da
Commit
c19154da
authored
May 04, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mpga_audio: should fix an infinite loop when miss-detected free
bitrate stream.
parent
735fedde
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
modules/codec/mpeg_audio.c
modules/codec/mpeg_audio.c
+4
-1
No files found.
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/03/31 22:39:28 massiot
Exp $
* $Id: mpeg_audio.c,v 1.1
5 2003/05/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