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
6b72615c
Commit
6b72615c
authored
Aug 24, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtpdec_xiph: switch to av_assert()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
b66afe08
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
rtpdec_xiph.c
libavformat/rtpdec_xiph.c
+2
-3
No files found.
libavformat/rtpdec_xiph.c
View file @
6b72615c
...
@@ -27,12 +27,11 @@
...
@@ -27,12 +27,11 @@
* @author Josh Allmann <joshua.allmann@gmail.com>
* @author Josh Allmann <joshua.allmann@gmail.com>
*/
*/
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/avstring.h"
#include "libavutil/base64.h"
#include "libavutil/base64.h"
#include "libavcodec/bytestream.h"
#include "libavcodec/bytestream.h"
#include <assert.h>
#include "rtpdec.h"
#include "rtpdec.h"
#include "rtpdec_formats.h"
#include "rtpdec_formats.h"
...
@@ -183,7 +182,7 @@ static int xiph_handle_packet(AVFormatContext * ctx,
...
@@ -183,7 +182,7 @@ static int xiph_handle_packet(AVFormatContext * ctx,
data
->
timestamp
=
*
timestamp
;
data
->
timestamp
=
*
timestamp
;
}
else
{
}
else
{
a
ssert
(
fragmented
<
4
);
a
v_assert1
(
fragmented
<
4
);
if
(
data
->
timestamp
!=
*
timestamp
)
{
if
(
data
->
timestamp
!=
*
timestamp
)
{
// skip if fragmented timestamp is incorrect;
// skip if fragmented timestamp is incorrect;
// a start packet has been lost somewhere
// a start packet has been lost somewhere
...
...
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