This was left out of the recent rewrite of the system.
Unified · Split
| @@ -3830,6 +3830,7 @@ static int host_map_frame(AVHWFramesContext *hwfc, AVBufferRef **dst, int *nb_bu · 3829 unmodified lines | ||
| 3830 | 3830 | /* Add the offset at the start, which gets ignored */ |
| 3831 | 3831 | buffer_size = offs + swf->linesize[i]*p_h; |
| 3832 | 3832 | buffer_size = FFALIGN(buffer_size, p->props.properties.limits.minMemoryMapAlignment); |
| 3833 | + buffer_size = FFALIGN(buffer_size, p->hprops.minImportedHostPointerAlignment); | |
| 3833 | 3834 | |
| 3834 | 3835 | /* Create a buffer */ |
| 3835 | 3836 | vkb = av_mallocz(sizeof(*vkb)); |