diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-07 23:30:07 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-07 23:30:07 +0400 |
commit | a21c212681ad4493c2b95d166947d6366cd62524 (patch) | |
tree | 6c7058d835a2f707efc8ba30b5efb2c9bc0e4e49 /libavformat/swfenc.c | |
parent | 610a52647ba8c3bd720e08f01fde76324a6b4b9c (diff) |
swfenc: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/swfenc.c')
-rw-r--r-- | libavformat/swfenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/swfenc.c b/libavformat/swfenc.c index 6a3cdad09e..f56c58017b 100644 --- a/libavformat/swfenc.c +++ b/libavformat/swfenc.c @@ -21,6 +21,7 @@ */ #include "libavcodec/put_bits.h" +#include "libavutil/avassert.h" #include "avformat.h" #include "swf.h" @@ -56,7 +57,7 @@ static void put_swf_end_tag(AVFormatContext *s) avio_wl16(pb, (tag << 6) | 0x3f); avio_wl32(pb, tag_len - 4); } else { - assert(tag_len < 0x3f); + av_assert0(tag_len < 0x3f); avio_wl16(pb, (tag << 6) | tag_len); } avio_seek(pb, pos, SEEK_SET); |