diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-18 05:02:58 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-18 05:02:58 +0200 |
commit | 7e49474aa02e93ba2d80b330cba1ec38f4c4f3ee (patch) | |
tree | b85eef6948de1b922ee9315c0f21ae7187d38854 /libavformat/ffmenc.c | |
parent | b5abebe164f82b9530de0fb312575124eee3474d (diff) | |
download | ffmpeg-7e49474aa02e93ba2d80b330cba1ec38f4c4f3ee.tar.gz |
ffmenc: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/ffmenc.c')
-rw-r--r-- | libavformat/ffmenc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavformat/ffmenc.c b/libavformat/ffmenc.c index 6ce69cf8a9..3b96c732df 100644 --- a/libavformat/ffmenc.c +++ b/libavformat/ffmenc.c @@ -19,8 +19,6 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include <assert.h> - #include "libavutil/intreadwrite.h" #include "libavutil/intfloat.h" #include "libavutil/avassert.h" @@ -37,7 +35,7 @@ static void flush_packet(AVFormatContext *s) fill_size = ffm->packet_end - ffm->packet_ptr; memset(ffm->packet_ptr, 0, fill_size); - assert(avio_tell(pb) % ffm->packet_size == 0); + av_assert1(avio_tell(pb) % ffm->packet_size == 0); /* put header */ avio_wb16(pb, PACKET_ID); |