History

avcodec/amfenc_av1: use AV_WL32A

James Almer committed 2 years ago

Commit 09de9791 parent 753f2ae1 file · +4 −4Browse files

Unified · Split

libavcodec/amfenc_av1.c+4−4
@@ -535,10 +535,10 @@ FF_ENABLE_DEPRECATION_WARNINGS · 534 unmodified lines
535 avctx->nb_coded_side_data++;535 avctx->nb_coded_side_data++;
536 536
537 //top, bottom, left,right537 //top, bottom, left,right
538 AV_WL32(crop + 0, 0);538 AV_WL32A(crop + 0, 0);
539 AV_WL32(crop + 1, crop_bottom);539 AV_WL32A(crop + 1, crop_bottom);
540 AV_WL32(crop + 2, 0);540 AV_WL32A(crop + 2, 0);
541 AV_WL32(crop + 3, crop_right);541 AV_WL32A(crop + 3, crop_right);
542 542
543 avctx->coded_side_data[avctx->nb_coded_side_data - 1].type = AV_PKT_DATA_FRAME_CROPPING;543 avctx->coded_side_data[avctx->nb_coded_side_data - 1].type = AV_PKT_DATA_FRAME_CROPPING;
544 avctx->coded_side_data[avctx->nb_coded_side_data - 1].data = (uint8_t*)crop;544 avctx->coded_side_data[avctx->nb_coded_side_data - 1].data = (uint8_t*)crop;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t