mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 18:10:13 +01:00
avcodec/amfenc_av1: use AV_WL32A
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -535,10 +535,10 @@ FF_ENABLE_DEPRECATION_WARNINGS
|
|||||||
avctx->nb_coded_side_data++;
|
avctx->nb_coded_side_data++;
|
||||||
|
|
||||||
//top, bottom, left,right
|
//top, bottom, left,right
|
||||||
AV_WL32(crop + 0, 0);
|
AV_WL32A(crop + 0, 0);
|
||||||
AV_WL32(crop + 1, crop_bottom);
|
AV_WL32A(crop + 1, crop_bottom);
|
||||||
AV_WL32(crop + 2, 0);
|
AV_WL32A(crop + 2, 0);
|
||||||
AV_WL32(crop + 3, crop_right);
|
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].type = AV_PKT_DATA_FRAME_CROPPING;
|
||||||
avctx->coded_side_data[avctx->nb_coded_side_data - 1].data = (uint8_t*)crop;
|
avctx->coded_side_data[avctx->nb_coded_side_data - 1].data = (uint8_t*)crop;
|
||||||
|
|||||||
Reference in New Issue
Block a user