diff options
author | Anton Khirnov <anton@khirnov.net> | 2017-02-08 09:51:17 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-05-22 14:38:57 +0200 |
commit | f30a41a6086eb8c10f66090739a2a4f8491c3c7a (patch) | |
tree | fcd7dfaa1be12dff576c2e31fa719fc3867b1b34 /libavutil/hwcontext.c | |
parent | 8cfab9fa8c1529f3d4db3e7d5b317acdbc08d37d (diff) | |
download | ffmpeg-f30a41a6086eb8c10f66090739a2a4f8491c3c7a.tar.gz |
Stop hardcoding align=32 in av_frame_get_buffer() calls.
Use 0, which selects the alignment automatically.
Diffstat (limited to 'libavutil/hwcontext.c')
-rw-r--r-- | libavutil/hwcontext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/hwcontext.c b/libavutil/hwcontext.c index b01612de05..8cc91d9a28 100644 --- a/libavutil/hwcontext.c +++ b/libavutil/hwcontext.c @@ -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; |