History

avcodec/amfenc_av1: use AV_WL32A

James Almer committed 2 years ago

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

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/amfenc_av1.c+4−4
@@ -535,10 +535,10 @@ FF_ENABLE_DEPRECATION_WARNINGS · 534 unmodified lines
535535 avctx->nb_coded_side_data++;
536536
537537 //top, bottom, left,right
538− AV_WL32(crop + 0, 0);
539− AV_WL32(crop + 1, crop_bottom);
540− AV_WL32(crop + 2, 0);
541− AV_WL32(crop + 3, crop_right);
538+ AV_WL32A(crop + 0, 0);
539+ AV_WL32A(crop + 1, crop_bottom);
540+ AV_WL32A(crop + 2, 0);
541+ AV_WL32A(crop + 3, crop_right);
542542
543543 avctx->coded_side_data[avctx->nb_coded_side_data - 1].type = AV_PKT_DATA_FRAME_CROPPING;
544544 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