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
17bbb818
Commit
17bbb818
authored
Jun 15, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amr: use av_assert()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
47f83030
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
amr.c
libavformat/amr.c
+2
-3
No files found.
libavformat/amr.c
View file @
17bbb818
...
@@ -25,6 +25,7 @@ Write and read amr data according to RFC3267, http://www.ietf.org/rfc/rfc3267.tx
...
@@ -25,6 +25,7 @@ Write and read amr data according to RFC3267, http://www.ietf.org/rfc/rfc3267.tx
Only mono files are supported.
Only mono files are supported.
*/
*/
#include "libavutil/avassert.h"
#include "avformat.h"
#include "avformat.h"
#include "internal.h"
#include "internal.h"
...
@@ -143,9 +144,7 @@ static int amr_read_packet(AVFormatContext *s,
...
@@ -143,9 +144,7 @@ static int amr_read_packet(AVFormatContext *s,
size
=
packed_size
[
mode
];
size
=
packed_size
[
mode
];
}
}
else
else
{
av_assert0
(
0
);
assert
(
0
);
}
if
(
(
size
==
0
)
||
av_new_packet
(
pkt
,
size
))
if
(
(
size
==
0
)
||
av_new_packet
(
pkt
,
size
))
{
{
...
...
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