diff mbox series

[FFmpeg-devel,34/39] lavc/decode: reindent after previous commit

Message ID 20240716171155.31838-34-anton@khirnov.net
State New
Headers show
Series [FFmpeg-devel,01/39] tests/fate/vcodec: add vsynth tests for FFV1 version 2 | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Anton Khirnov July 16, 2024, 5:11 p.m. UTC
---
 libavcodec/decode.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Comments

Anton Khirnov Aug. 12, 2024, 12:49 p.m. UTC | #1
pushed patches up to this one
diff mbox series

Patch

diff --git a/libavcodec/decode.c b/libavcodec/decode.c
index dd94280f0b..deaecf0c01 100644
--- a/libavcodec/decode.c
+++ b/libavcodec/decode.c
@@ -430,20 +430,20 @@  static inline int decode_simple_internal(AVCodecContext *avctx, AVFrame *frame,
 
     got_frame = 0;
 
-        frame->pict_type = dc->initial_pict_type;
-        frame->flags    |= dc->intra_only_flag;
-        consumed = codec->cb.decode(avctx, frame, &got_frame, pkt);
+    frame->pict_type = dc->initial_pict_type;
+    frame->flags    |= dc->intra_only_flag;
+    consumed = codec->cb.decode(avctx, frame, &got_frame, pkt);
 
-        if (!(codec->caps_internal & FF_CODEC_CAP_SETS_PKT_DTS))
-            frame->pkt_dts = pkt->dts;
-        if (avctx->codec->type == AVMEDIA_TYPE_VIDEO) {
+    if (!(codec->caps_internal & FF_CODEC_CAP_SETS_PKT_DTS))
+        frame->pkt_dts = pkt->dts;
+    if (avctx->codec->type == AVMEDIA_TYPE_VIDEO) {
 #if FF_API_FRAME_PKT
 FF_DISABLE_DEPRECATION_WARNINGS
-            if(!avctx->has_b_frames)
-                frame->pkt_pos = pkt->pos;
+        if(!avctx->has_b_frames)
+            frame->pkt_pos = pkt->pos;
 FF_ENABLE_DEPRECATION_WARNINGS
 #endif
-        }
+    }
     emms_c();
 
     if (avctx->codec->type == AVMEDIA_TYPE_VIDEO) {