diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-13 18:51:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-13 18:51:38 +0200 |
commit | 53eaca5d6bf63061db5ea4f7019937f11ad154ec (patch) | |
tree | e46ae8e88338f942bbd2ae3c63eb9557661ae222 /libavformat | |
parent | 5f8f6243ef99e60f443785340b4bde42881fb1e3 (diff) | |
download | ffmpeg-53eaca5d6bf63061db5ea4f7019937f11ad154ec.tar.gz |
mpegtsenc: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mpegtsenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 3517d74830..aba266b615 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -800,7 +800,7 @@ static void write_pts(uint8_t *q, int fourbits, int64_t pts) static void set_af_flag(uint8_t *pkt, int flag) { // expect at least one flag to set - assert(flag); + av_assert0(flag); if ((pkt[3] & 0x20) == 0) { // no AF yet, set adaptation field flag @@ -816,7 +816,7 @@ static void set_af_flag(uint8_t *pkt, int flag) static void extend_af(uint8_t *pkt, int size) { // expect already existing adaptation field - assert(pkt[3] & 0x20); + av_assert0(pkt[3] & 0x20); pkt[4] += size; } |