[FFmpeg-cvslog] avcodec/mpegpicture: Reindent after the previous commit
Andreas Rheinhardt
git at videolan.org
Wed Jun 12 14:15:14 EEST 2024
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Aug 8 22:20:45 2022 +0200| [6450cfcd100a7cc4ae2858532af743b5e9bc9868] | committer: Andreas Rheinhardt
avcodec/mpegpicture: Reindent after the previous commit
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6450cfcd100a7cc4ae2858532af743b5e9bc9868
---
libavcodec/mpegpicture.c | 9 +++------
1 file 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");
More information about the ffmpeg-cvslog
mailing list