diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-15 19:37:53 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-15 19:44:42 +0200 |
commit | 17bbb818ae2a169a76f300d46e3d39f2dc68fea8 (patch) | |
tree | f0ed8ecd2768091bf7f6e860d2db6a7c492cc6b9 /libavformat | |
parent | 47f830306959726573be159f1420191c04dc7ed8 (diff) | |
download | ffmpeg-17bbb818ae2a169a76f300d46e3d39f2dc68fea8.tar.gz |
amr: use av_assert()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/amr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavformat/amr.c b/libavformat/amr.c index 39aad1d822..016e8958d1 100644 --- a/libavformat/amr.c +++ b/libavformat/amr.c @@ -25,6 +25,7 @@ Write and read amr data according to RFC3267, http://www.ietf.org/rfc/rfc3267.tx Only mono files are supported. */ +#include "libavutil/avassert.h" #include "avformat.h" #include "internal.h" @@ -143,9 +144,7 @@ static int amr_read_packet(AVFormatContext *s, size=packed_size[mode]; } else - { - assert(0); - } + av_assert0(0); if ( (size==0) || av_new_packet(pkt, size)) { |