[FFmpeg-cvslog] vulkan/av1: fix filling out global motion params.

Dave Airlie git at videolan.org
Thu Jun 15 23:04:13 EEST 2023


ffmpeg | branch: master | Dave Airlie <airlied at redhat.com> | Wed Jun 14 14:50:08 2023 +1000| [6964a97f91f723eb114e6015dc65035226c2661d] | committer: Lynne

vulkan/av1: fix filling out global motion params.

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

 libavcodec/vulkan_av1.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/vulkan_av1.c b/libavcodec/vulkan_av1.c
index 5447398612..91e44ba803 100644
--- a/libavcodec/vulkan_av1.c
+++ b/libavcodec/vulkan_av1.c
@@ -448,9 +448,9 @@ static int vk_av1_start_frame(AVCodecContext          *avctx,
             },
             .gm_type = s->cur_frame.gm_type[i],
             .gm_params = {
-                frame_header->gm_params[i][0], frame_header->gm_params[i][1],
-                frame_header->gm_params[i][2], frame_header->gm_params[i][3],
-                frame_header->gm_params[i][4], frame_header->gm_params[i][5],
+                s->cur_frame.gm_params[i][0], s->cur_frame.gm_params[i][1],
+                s->cur_frame.gm_params[i][2], s->cur_frame.gm_params[i][3],
+                s->cur_frame.gm_params[i][4], s->cur_frame.gm_params[i][5],
             },
         };
     }



More information about the ffmpeg-cvslog mailing list