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
f3c9d66b
Commit
f3c9d66b
authored
Jan 03, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libspeexdec: fix terminator check
Fixes Ticket2096 Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
6717d1a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libspeexdec.c
libavcodec/libspeexdec.c
+1
-1
No files found.
libavcodec/libspeexdec.c
View file @
f3c9d66b
...
@@ -132,7 +132,7 @@ static int libspeex_decode_frame(AVCodecContext *avctx, void *data,
...
@@ -132,7 +132,7 @@ static int libspeex_decode_frame(AVCodecContext *avctx, void *data,
current packet, otherwise ignore the current packet and keep decoding
current packet, otherwise ignore the current packet and keep decoding
frames from the libspeex buffer. */
frames from the libspeex buffer. */
if
(
speex_bits_remaining
(
&
s
->
bits
)
<
5
||
if
(
speex_bits_remaining
(
&
s
->
bits
)
<
5
||
speex_bits_peek_unsigned
(
&
s
->
bits
,
5
)
==
0x
1
F
)
{
speex_bits_peek_unsigned
(
&
s
->
bits
,
5
)
==
0xF
)
{
/* check for flush packet */
/* check for flush packet */
if
(
!
buf
||
!
buf_size
)
{
if
(
!
buf
||
!
buf_size
)
{
*
got_frame_ptr
=
0
;
*
got_frame_ptr
=
0
;
...
...
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