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
dc30c27e
Commit
dc30c27e
authored
Jun 25, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264_parser: use av_assert
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
cd6aa95c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
h264_parser.c
libavcodec/h264_parser.c
+1
-3
No files found.
libavcodec/h264_parser.c
View file @
dc30c27e
...
...
@@ -31,8 +31,6 @@
#include "h264data.h"
#include "golomb.h"
#include <assert.h>
static
int
ff_h264_find_frame_end
(
H264Context
*
h
,
const
uint8_t
*
buf
,
int
buf_size
)
{
...
...
@@ -324,7 +322,7 @@ static int h264_parse(AVCodecParserContext *s,
}
if
(
next
<
0
&&
next
!=
END_NOT_FOUND
){
a
ssert
(
pc
->
last_index
+
next
>=
0
);
a
v_assert1
(
pc
->
last_index
+
next
>=
0
);
ff_h264_find_frame_end
(
h
,
&
pc
->
buffer
[
pc
->
last_index
+
next
],
-
next
);
//update state
}
}
...
...
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