diff --git a/libavcodec/h264.c b/libavcodec/h264.c index e87157ce46..4131ae9fa1 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2955,7 +2955,7 @@ static int decode_ref_pic_list_reordering(H264Context *h){ assert(!ref->long_ref); if(ref->data[0] != NULL && ref->frame_num == frame_num && - (ref->reference & pic_structure) && + (ref->reference & pic_structure) ) // ignore non-existing pictures by testing data[0] pointer break; }