Browse Source

h263dec: Fix asserts broken by the elimination of FF_COMMON_FRAME.

tags/n0.9
Alex Converse 14 years ago
parent
commit
ad62507f32
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/h263dec.c

+ 2
- 2
libavcodec/h263dec.c View File

@@ -705,8 +705,8 @@ intrax8_decoded:

MPV_frame_end(s);

assert(s->current_picture.pict_type == s->current_picture_ptr->pict_type);
assert(s->current_picture.pict_type == s->pict_type);
assert(s->current_picture.f.pict_type == s->current_picture_ptr->f.pict_type);
assert(s->current_picture.f.pict_type == s->pict_type);
if (s->pict_type == AV_PICTURE_TYPE_B || s->low_delay) {
*pict= *(AVFrame*)s->current_picture_ptr;
} else if (s->last_picture_ptr != NULL) {


Loading…
Cancel
Save