Browse Source

Remove another 2 incorrect checks.

These would ignore fields of different parity.

Originally committed as revision 14404 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 17 years ago
parent
commit
d9022d38fb
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      libavcodec/h264.c

+ 2
- 3
libavcodec/h264.c View File

@@ -2954,8 +2954,7 @@ static int decode_ref_pic_list_reordering(H264Context *h){
assert(ref->reference);
assert(!ref->long_ref);
if(
ref->frame_num == frame_num &&
(ref->reference & pic_structure)
ref->frame_num == frame_num
)
break;
}
@@ -2973,7 +2972,7 @@ static int decode_ref_pic_list_reordering(H264Context *h){
}
ref = h->long_ref[long_idx];
assert(!(ref && !ref->reference));
if(ref && (ref->reference & pic_structure)){
if(ref){
ref->pic_id= pic_id;
assert(ref->long_ref);
i=0;


Loading…
Cancel
Save