[FFmpeg-devel] [PATCH 2/2] avcodec/cuviddec: reindent after previous commit
Zhao Zhili
quinkblack at foxmail.com
Fri Jun 24 17:42:02 EEST 2022
From: Zhao Zhili <zhilizhao at tencent.com>
---
libavcodec/cuviddec.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/libavcodec/cuviddec.c b/libavcodec/cuviddec.c
index 2f6bbdc7d8..3e29cde83b 100644
--- a/libavcodec/cuviddec.c
+++ b/libavcodec/cuviddec.c
@@ -662,15 +662,15 @@ static av_cold int cuvid_decode_end(AVCodecContext *avctx)
av_fifo_freep2(&ctx->frame_queue);
if (cuda_ctx) {
- ctx->cudl->cuCtxPushCurrent(cuda_ctx);
+ ctx->cudl->cuCtxPushCurrent(cuda_ctx);
- if (ctx->cuparser)
- ctx->cvdl->cuvidDestroyVideoParser(ctx->cuparser);
+ if (ctx->cuparser)
+ ctx->cvdl->cuvidDestroyVideoParser(ctx->cuparser);
- if (ctx->cudecoder)
- ctx->cvdl->cuvidDestroyDecoder(ctx->cudecoder);
+ if (ctx->cudecoder)
+ ctx->cvdl->cuvidDestroyDecoder(ctx->cudecoder);
- ctx->cudl->cuCtxPopCurrent(&dummy);
+ ctx->cudl->cuCtxPopCurrent(&dummy);
}
ctx->cudl = NULL;
--
2.34.1
More information about the ffmpeg-devel
mailing list