Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-04 02:05:56 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-08-04 02:05:56 +0400
commita189475c8ec2f8963821e5fe225648b69bbca0c8 (patch)
treea0a819d137f3135458653d4095cc21ad446e6772 /libavcodec/dvdec.c
parent70bcdfb39f1b28a7762af2aa82524d16d1128798 (diff)
dvdec: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dvdec.c')
-rw-r--r--libavcodec/dvdec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/dvdec.c b/libavcodec/dvdec.c
index 9178524251..917c8adefb 100644
--- a/libavcodec/dvdec.c
+++ b/libavcodec/dvdec.c
@@ -35,6 +35,7 @@
* DV decoder
*/
+#include "libavutil/avassert.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "dsputil.h"
@@ -147,8 +148,8 @@ static int dv_decode_video_segment(AVCodecContext *avctx, void *arg)
const int log2_blocksize = 3-s->avctx->lowres;
int is_field_mode[5];
- assert((((int)mb_bit_buffer) & 7) == 0);
- assert((((int)vs_bit_buffer) & 7) == 0);
+ av_assert1((((int)mb_bit_buffer) & 7) == 0);
+ av_assert1((((int)vs_bit_buffer) & 7) == 0);
memset(sblock, 0, 5*DV_MAX_BPM*sizeof(*sblock));