Signed-off-by: James Almer <jamr...@gmail.com>
---
 libavcodec/amfenc_av1.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavcodec/amfenc_av1.c b/libavcodec/amfenc_av1.c
index d984779063..97d1ea025c 100644
--- a/libavcodec/amfenc_av1.c
+++ b/libavcodec/amfenc_av1.c
@@ -535,10 +535,10 @@ FF_ENABLE_DEPRECATION_WARNINGS
         avctx->nb_coded_side_data++;
 
         //top, bottom, left,right
-        AV_WL32(crop + 0, 0);
-        AV_WL32(crop + 1, crop_bottom);
-        AV_WL32(crop + 2, 0);
-        AV_WL32(crop + 3, crop_right);
+        AV_WL32A(crop + 0, 0);
+        AV_WL32A(crop + 1, crop_bottom);
+        AV_WL32A(crop + 2, 0);
+        AV_WL32A, crop + 3, crop_right);
 
         avctx->coded_side_data[avctx->nb_coded_side_data - 1].type = 
AV_PKT_DATA_FRAME_CROPPING;
         avctx->coded_side_data[avctx->nb_coded_side_data - 1].data = 
(uint8_t*)crop;
-- 
2.45.2

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to