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
0354412a
Commit
0354412a
authored
Jun 16, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmenc: use av_assert
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
30000744
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ffmenc.c
libavformat/ffmenc.c
+2
-1
No files found.
libavformat/ffmenc.c
View file @
0354412a
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/intfloat.h"
#include "libavutil/intfloat.h"
#include "libavutil/avassert.h"
#include "avformat.h"
#include "avformat.h"
#include "internal.h"
#include "internal.h"
#include "ffm.h"
#include "ffm.h"
...
@@ -189,7 +190,7 @@ static int ffm_write_header(AVFormatContext *s)
...
@@ -189,7 +190,7 @@ static int ffm_write_header(AVFormatContext *s)
/* init packet mux */
/* init packet mux */
ffm
->
packet_ptr
=
ffm
->
packet
;
ffm
->
packet_ptr
=
ffm
->
packet
;
ffm
->
packet_end
=
ffm
->
packet
+
ffm
->
packet_size
-
FFM_HEADER_SIZE
;
ffm
->
packet_end
=
ffm
->
packet
+
ffm
->
packet_size
-
FFM_HEADER_SIZE
;
a
ssert
(
ffm
->
packet_end
>=
ffm
->
packet
);
a
v_assert0
(
ffm
->
packet_end
>=
ffm
->
packet
);
ffm
->
frame_offset
=
0
;
ffm
->
frame_offset
=
0
;
ffm
->
dts
=
0
;
ffm
->
dts
=
0
;
ffm
->
first_packet
=
1
;
ffm
->
first_packet
=
1
;
...
...
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