aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-04-03 13:49:00 +0200
committerAnton Khirnov <anton@khirnov.net>2024-08-12 14:42:20 +0200
commitdeee00e2eb58710f21c1c8775702930bc4d9f86b (patch)
tree506283843e91f016255dc9b28b974fb0f4b08f05
parent5acbdd2264d3b90dc11369f9e031e762f260882e (diff)
downloadffmpeg-deee00e2eb58710f21c1c8775702930bc4d9f86b.tar.gz
lavc/decode: reindent after previous commit
-rw-r--r--libavcodec/decode.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/libavcodec/decode.c b/libavcodec/decode.c
index 8d830f3f09..27dba8a1f3 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) {