[FFmpeg-cvslog] avformat/mov: reindent after previous commit

James Almer git at videolan.org
Sun Nov 10 23:44:44 EET 2024


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat Nov  9 19:40:01 2024 -0300| [92b849df1306f6fd34a900d1e7f8b7e0e7afb455] | committer: James Almer

avformat/mov: reindent after previous commit

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=92b849df1306f6fd34a900d1e7f8b7e0e7afb455
---

 libavformat/mov.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index a25b9106ab..8fdbb83015 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -8714,10 +8714,10 @@ static int mov_read_iloc(MOVContext *c, AVIOContext *pb, MOVAtom atom)
             return AVERROR_PATCHWELCOME;
         }
 
-            if (rb_size(pb, &extent_offset, offset_size) < 0 ||
-                rb_size(pb, &extent_length, length_size) < 0 ||
-                base_offset > INT64_MAX - extent_offset)
-                return AVERROR_INVALIDDATA;
+        if (rb_size(pb, &extent_offset, offset_size) < 0 ||
+            rb_size(pb, &extent_length, length_size) < 0 ||
+            base_offset > INT64_MAX - extent_offset)
+            return AVERROR_INVALIDDATA;
 
         if (!item)
             item = c->heif_item[i] = av_mallocz(sizeof(*item));
@@ -8726,13 +8726,13 @@ static int mov_read_iloc(MOVContext *c, AVIOContext *pb, MOVAtom atom)
 
         item->item_id = item_id;
 
-            if (offset_type == 1)
-                item->is_idat_relative = 1;
-            item->extent_length = extent_length;
-            item->extent_offset = base_offset + extent_offset;
-            av_log(c->fc, AV_LOG_TRACE, "iloc: item_idx %d, offset_type %d, "
-                                        "extent_offset %"PRId64", extent_length %"PRId64"\n",
-                   i, offset_type, item->extent_offset, item->extent_length);
+        if (offset_type == 1)
+            item->is_idat_relative = 1;
+        item->extent_length = extent_length;
+        item->extent_offset = base_offset + extent_offset;
+        av_log(c->fc, AV_LOG_TRACE, "iloc: item_idx %d, offset_type %d, "
+                                    "extent_offset %"PRId64", extent_length %"PRId64"\n",
+               i, offset_type, item->extent_offset, item->extent_length);
 
         c->nb_heif_item = FFMAX(c->nb_heif_item, i + 1);
     }



More information about the ffmpeg-cvslog mailing list