Stop hardcoding align=32 in av_frame_get_buffer() calls.
Use 0, which selects the alignment automatically.
This commit is contained in:
@@ -422,7 +422,7 @@ static int transfer_data_alloc(AVFrame *dst, const AVFrame *src, int flags)
|
||||
frame_tmp->width = ctx->width;
|
||||
frame_tmp->height = ctx->height;
|
||||
|
||||
ret = av_frame_get_buffer(frame_tmp, 32);
|
||||
ret = av_frame_get_buffer(frame_tmp, 0);
|
||||
if (ret < 0)
|
||||
goto fail;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user