aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarch1t3cht <arch1t3cht@gmail.com>2024-03-28 02:56:39 +0100
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2024-04-16 16:36:22 +0100
commite9e1932c1ca85c8ce29a89f3fbda77c7df38e8f0 (patch)
treec16935bbb2ea1b73b1891a086a7c90bb6401ebc0
parent728ffe6ca6d46f55e2f63de9dec8ea11e096c314 (diff)
downloadffmpeg-e9e1932c1ca85c8ce29a89f3fbda77c7df38e8f0.tar.gz
avcodec/h264dec: Reindent after the previous commit
Signed-off-by: arch1t3cht <arch1t3cht@gmail.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-rw-r--r--libavcodec/h264dec.c46
1 files changed, 23 insertions, 23 deletions
diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c
index 76447e5206..0b111b5b99 100644
--- a/libavcodec/h264dec.c
+++ b/libavcodec/h264dec.c
@@ -1000,32 +1000,32 @@ static int send_next_delayed_frame(H264Context *h, AVFrame *dst_frame,
h->first_field = 0;
while (h->delayed_pic[0]) {
- out = h->delayed_pic[0];
- out_idx = 0;
- for (i = 1;
- h->delayed_pic[i] &&
- !(h->delayed_pic[i]->f->flags & AV_FRAME_FLAG_KEY) &&
- !h->delayed_pic[i]->mmco_reset;
- i++)
- if (h->delayed_pic[i]->poc < out->poc) {
- out = h->delayed_pic[i];
- out_idx = i;
- }
+ out = h->delayed_pic[0];
+ out_idx = 0;
+ for (i = 1;
+ h->delayed_pic[i] &&
+ !(h->delayed_pic[i]->f->flags & AV_FRAME_FLAG_KEY) &&
+ !h->delayed_pic[i]->mmco_reset;
+ i++)
+ if (h->delayed_pic[i]->poc < out->poc) {
+ out = h->delayed_pic[i];
+ out_idx = i;
+ }
- for (i = out_idx; h->delayed_pic[i]; i++)
- h->delayed_pic[i] = h->delayed_pic[i + 1];
+ for (i = out_idx; h->delayed_pic[i]; i++)
+ h->delayed_pic[i] = h->delayed_pic[i + 1];
- if (out) {
- h->frame_recovered |= out->recovered;
- out->recovered |= h->frame_recovered & FRAME_RECOVERED_SEI;
+ if (out) {
+ h->frame_recovered |= out->recovered;
+ out->recovered |= h->frame_recovered & FRAME_RECOVERED_SEI;
- out->reference &= ~DELAYED_PIC_REF;
- ret = finalize_frame(h, dst_frame, out, got_frame);
- if (ret < 0)
- return ret;
- if (*got_frame)
- break;
- }
+ out->reference &= ~DELAYED_PIC_REF;
+ ret = finalize_frame(h, dst_frame, out, got_frame);
+ if (ret < 0)
+ return ret;
+ if (*got_frame)
+ break;
+ }
}
return buf_index;