diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-04-03 13:49:00 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-04-05 19:46:02 +0200 |
commit | 6dd3a004c9143d5ee188e519f0c7b838c7fee9ea (patch) | |
tree | a02b515e91369e2c7fc11320adaf8507b8fb248e | |
parent | 5334224788f44bf44f10bf4b5bb2e37f62b7b08f (diff) |
lavc/decode: reindent after previous commit
-rw-r--r-- | libavcodec/decode.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavcodec/decode.c b/libavcodec/decode.c index 2a552146fe..c6f62fd46d 100644 --- a/libavcodec/decode.c +++ b/libavcodec/decode.c @@ -413,18 +413,18 @@ static inline int decode_simple_internal(AVCodecContext *avctx, AVFrame *frame, got_frame = 0; - consumed = codec->cb.decode(avctx, frame, &got_frame, pkt); + 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) { |