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
6c06b566
Commit
6c06b566
authored
Aug 28, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtpenc_xiph: switch to av_assert
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
c1495868
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
rtpenc_xiph.c
libavformat/rtpenc_xiph.c
+2
-1
No files found.
libavformat/rtpenc_xiph.c
View file @
6c06b566
...
...
@@ -19,6 +19,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "libavutil/avassert.h"
#include "avformat.h"
#include "rtpenc.h"
...
...
@@ -72,7 +73,7 @@ void ff_rtp_send_xiph(AVFormatContext *s1, const uint8_t *buff, int size)
uint8_t
*
ptr
=
s
->
buf_ptr
+
2
+
size
;
// what we're going to write
int
remaining
=
end_ptr
-
ptr
;
a
ssert
(
s
->
num_frames
<=
s
->
max_frames_per_packet
);
a
v_assert1
(
s
->
num_frames
<=
s
->
max_frames_per_packet
);
if
((
s
->
num_frames
>
0
&&
remaining
<
0
)
||
s
->
num_frames
==
s
->
max_frames_per_packet
)
{
// send previous packets now; no room for new data
...
...
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