diff options
author | Jeff Downs <heydowns@borg.com> | 2007-10-04 06:37:04 +0000 |
---|---|---|
committer | Andreas Ă–man <andreas@lonelycoder.com> | 2007-10-04 06:37:04 +0000 |
commit | 5a7b254c75e7577ce5a8d4036e6fb7708180869a (patch) | |
tree | 7bb676e078e0b3335a8244b87809b04bc52ac97a /libavcodec | |
parent | 8fd57a667b083013156135e88025bc8a37fa6d98 (diff) | |
download | ffmpeg-5a7b254c75e7577ce5a8d4036e6fb7708180869a.tar.gz |
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
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h264.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 0e26cb1457..9a521c0763 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -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; } } |