Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -535,10 +535,10 @@ FF_ENABLE_DEPRECATION_WARNINGS · 534 unmodified lines | ||
| 535 | 535 | avctx->nb_coded_side_data++; |
| 536 | 536 | |
| 537 | 537 | //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); | |
| 542 | 542 | |
| 543 | 543 | avctx->coded_side_data[avctx->nb_coded_side_data - 1].type = AV_PKT_DATA_FRAME_CROPPING; |
| 544 | 544 | avctx->coded_side_data[avctx->nb_coded_side_data - 1].data = (uint8_t*)crop; |