aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-22 18:07:26 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-22 18:07:26 +0100
commit428e9dafab819bfb7ca9eb96e257c7a5391a5379 (patch)
tree939f77bf2853ad4fab2d9be3aeebe7ceacd5c3e8 /libavcodec/h263dec.c
parentac75e0c755245ad739c812a2c7aa43584d488da4 (diff)
downloadffmpeg-428e9dafab819bfb7ca9eb96e257c7a5391a5379.tar.gz
h263dec: switch to av_assert()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 66d00d4993..adcbcd8a89 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -744,8 +744,8 @@ intrax8_decoded:
ff_MPV_frame_end(s);
- assert(s->current_picture.f.pict_type == s->current_picture_ptr->f.pict_type);
- assert(s->current_picture.f.pict_type == s->pict_type);
+ av_assert1(s->current_picture.f.pict_type == s->current_picture_ptr->f.pict_type);
+ av_assert1(s->current_picture.f.pict_type == s->pict_type);
if (s->pict_type == AV_PICTURE_TYPE_B || s->low_delay) {
if ((ret = av_frame_ref(pict, &s->current_picture_ptr->f)) < 0)
return ret;