Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

h263dec: switch to av_assert()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information...
commit 428e9dafab819bfb7ca9eb96e257c7a5391a5379 1 parent ac75e0c
Michael Niedermayer michaelni authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 libavcodec/h263dec.c
4 libavcodec/h263dec.c
@@ -744,8 +744,8 @@ uint64_t time= rdtsc();
744 744
745 745 ff_MPV_frame_end(s);
746 746
747   - assert(s->current_picture.f.pict_type == s->current_picture_ptr->f.pict_type);
748   - assert(s->current_picture.f.pict_type == s->pict_type);
  747 + av_assert1(s->current_picture.f.pict_type == s->current_picture_ptr->f.pict_type);
  748 + av_assert1(s->current_picture.f.pict_type == s->pict_type);
749 749 if (s->pict_type == AV_PICTURE_TYPE_B || s->low_delay) {
750 750 if ((ret = av_frame_ref(pict, &s->current_picture_ptr->f)) < 0)
751 751 return ret;

0 comments on commit 428e9da

Please sign in to comment.
Something went wrong with that request. Please try again.