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
f408fc67
Commit
f408fc67
authored
Oct 31, 2002
by
Zdenek Kabelac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* avoid negative numbers as well
Originally committed as revision 1134 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
dd3be2c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wmadec.c
libavcodec/wmadec.c
+1
-1
No files found.
libavcodec/wmadec.c
View file @
f408fc67
...
@@ -1282,7 +1282,7 @@ static int wma_decode_superframe(AVCodecContext *avctx,
...
@@ -1282,7 +1282,7 @@ static int wma_decode_superframe(AVCodecContext *avctx,
s
->
last_bitoffset
=
pos
&
7
;
s
->
last_bitoffset
=
pos
&
7
;
pos
>>=
3
;
pos
>>=
3
;
len
=
buf_size
-
pos
;
len
=
buf_size
-
pos
;
if
(
len
>
MAX_CODED_SUPERFRAME_SIZE
)
{
if
(
len
>
MAX_CODED_SUPERFRAME_SIZE
||
len
<
0
)
{
return
-
1
;
return
-
1
;
}
}
s
->
last_superframe_len
=
len
;
s
->
last_superframe_len
=
len
;
...
...
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