diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-08-08 22:20:45 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-06-12 11:12:59 +0200 |
commit | 6450cfcd100a7cc4ae2858532af743b5e9bc9868 (patch) | |
tree | 17d006d9662f5a7986572c58cf3e7208aaf6ebf8 | |
parent | 788892d647636b314fa23df8eaaa3f016809ce0a (diff) | |
download | ffmpeg-6450cfcd100a7cc4ae2858532af743b5e9bc9868.tar.gz |
avcodec/mpegpicture: Reindent after the previous commit
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavcodec/mpegpicture.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libavcodec/mpegpicture.c b/libavcodec/mpegpicture.c index 2d3cc247c4..32ca037526 100644 --- a/libavcodec/mpegpicture.c +++ b/libavcodec/mpegpicture.c @@ -292,12 +292,9 @@ fail: int ff_find_unused_picture(AVCodecContext *avctx, Picture *picture, int shared) { - int i; - - for (i = 0; i < MAX_PICTURE_COUNT; i++) { - if (!picture[i].f->buf[0]) - return i; - } + for (int i = 0; i < MAX_PICTURE_COUNT; i++) + if (!picture[i].f->buf[0]) + return i; av_log(avctx, AV_LOG_FATAL, "Internal error, picture buffer overflow\n"); |