Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
3625e88a
Commit
3625e88a
authored
Aug 09, 2002
by
Zdenek Kabelac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* resync without endless loop
Originally committed as revision 849 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
62959862
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
mpegaudiodec.c
libavcodec/mpegaudiodec.c
+3
-1
No files found.
libavcodec/mpegaudiodec.c
View file @
3625e88a
...
@@ -2397,8 +2397,10 @@ static int decode_frame(AVCodecContext * avctx,
...
@@ -2397,8 +2397,10 @@ static int decode_frame(AVCodecContext * avctx,
if
(
len
>
buf_size
)
if
(
len
>
buf_size
)
len
=
buf_size
;
len
=
buf_size
;
if
(
len
==
0
)
{
if
(
len
==
0
)
{
/* frame too long: resync */
/* frame too long: resync */
s
->
frame_size
=
0
;
s
->
frame_size
=
0
;
memcpy
(
s
->
inbuf
,
s
->
inbuf
+
1
,
s
->
inbuf_ptr
-
s
->
inbuf
-
1
);
s
->
inbuf_ptr
--
;
}
else
{
}
else
{
UINT8
*
p
,
*
pend
;
UINT8
*
p
,
*
pend
;
UINT32
header1
;
UINT32
header1
;
...
...
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