diff options
author | James Almer <jamrial@gmail.com> | 2024-07-25 23:15:33 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-07-29 21:33:31 -0300 |
commit | 09de979ff614e559ad088c5438adeaaa2645a3ef (patch) | |
tree | 379a59984916abcd7f84aa2fadf2e65526179d4f | |
parent | 753f2aeed768fba7227e142e59ac29e307ab201a (diff) | |
download | ffmpeg-09de979ff614e559ad088c5438adeaaa2645a3ef.tar.gz |
avcodec/amfenc_av1: use AV_WL32A
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavcodec/amfenc_av1.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/amfenc_av1.c b/libavcodec/amfenc_av1.c index d984779063..62b9af9da0 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; |