aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 725dc33244..2b901ea9aa 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -3269,11 +3269,11 @@ static inline int unreference_pic(H264Context *h, Picture *pic, int refmask){
if (pic->reference &= refmask) {
return 0;
} else {
- for(i = 0; h->delayed_pic[i]; i++)
- if(pic == h->delayed_pic[i]){
- pic->reference=DELAYED_PIC_REF;
- break;
- }
+ for(i = 0; h->delayed_pic[i]; i++)
+ if(pic == h->delayed_pic[i]){
+ pic->reference=DELAYED_PIC_REF;
+ break;
+ }
return 1;
}
}