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
This commit is contained in:
Jeff Downs 2007-10-04 06:37:04 +00:00 committed by Andreas Öman
parent 8fd57a667b
commit 5a7b254c75
1 changed files with 9 additions and 9 deletions

View File

@ -3109,15 +3109,15 @@ static inline int unreference_pic(H264Context *h, Picture *pic, int refmask){
if (pic->reference &= refmask) {
return 0;
} else {
if(pic == h->delayed_output_pic)
pic->reference=DELAYED_PIC_REF;
else{
for(i = 0; h->delayed_pic[i]; i++)
if(pic == h->delayed_pic[i]){
pic->reference=DELAYED_PIC_REF;
break;
}
}
if(pic == h->delayed_output_pic)
pic->reference=DELAYED_PIC_REF;
else{
for(i = 0; h->delayed_pic[i]; i++)
if(pic == h->delayed_pic[i]){
pic->reference=DELAYED_PIC_REF;
break;
}
}
return 1;
}
}