[FFmpeg-cvslog] avcodec/cuviddec: fix wrong 10bit 420 format in cuvid_handle_video_sequence

Timo Rothenpieler git at videolan.org
Sat Jul 26 15:47:38 EEST 2025


ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Sat Jul 26 14:42:33 2025 +0200| [dc0ac81bbea9c82b5992b6f05b9e7784fd55330b] | committer: Timo Rothenpieler

avcodec/cuviddec: fix wrong 10bit 420 format in cuvid_handle_video_sequence

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

 libavcodec/cuviddec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/cuviddec.c b/libavcodec/cuviddec.c
index 27e3d835ac..be183fce35 100644
--- a/libavcodec/cuviddec.c
+++ b/libavcodec/cuviddec.c
@@ -205,7 +205,7 @@ static int CUDAAPI cuvid_handle_video_sequence(void *opaque, CUVIDEOFORMAT* form
 #endif
 #endif
         } else {
-            pix_fmts[1] = AV_PIX_FMT_P016;
+            pix_fmts[1] = AV_PIX_FMT_P010;
         }
         caps = &ctx->caps10;
         break;



More information about the ffmpeg-cvslog mailing list