Permalink
Browse files

h263dec: switch to av_assert()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information...
michaelni committed Mar 22, 2013
1 parent ac75e0c commit 428e9dafab819bfb7ca9eb96e257c7a5391a5379
Showing with 2 additions and 2 deletions.
  1. +2 −2 libavcodec/h263dec.c
View
@@ -744,8 +744,8 @@ uint64_t time= rdtsc();
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;

0 comments on commit 428e9da

Please sign in to comment.