Commit 5a7b254c authored by Jeff Downs's avatar Jeff Downs Committed by Andreas Öman

Re-indent unreference_pic.

patch by Jeff Downs, heydowns a borg d com
original thread:
Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264
Date: 18/09/07 20:30

Originally committed as revision 10660 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8fd57a66
...@@ -3109,15 +3109,15 @@ static inline int unreference_pic(H264Context *h, Picture *pic, int refmask){ ...@@ -3109,15 +3109,15 @@ static inline int unreference_pic(H264Context *h, Picture *pic, int refmask){
if (pic->reference &= refmask) { if (pic->reference &= refmask) {
return 0; return 0;
} else { } else {
if(pic == h->delayed_output_pic) if(pic == h->delayed_output_pic)
pic->reference=DELAYED_PIC_REF; pic->reference=DELAYED_PIC_REF;
else{ else{
for(i = 0; h->delayed_pic[i]; i++) for(i = 0; h->delayed_pic[i]; i++)
if(pic == h->delayed_pic[i]){ if(pic == h->delayed_pic[i]){
pic->reference=DELAYED_PIC_REF; pic->reference=DELAYED_PIC_REF;
break; break;
} }
} }
return 1; return 1;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment