aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avf_showcqt.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2017-02-08 09:51:17 +0100
committerAnton Khirnov <anton@khirnov.net>2020-05-22 14:38:57 +0200
commitf30a41a6086eb8c10f66090739a2a4f8491c3c7a (patch)
treefcd7dfaa1be12dff576c2e31fa719fc3867b1b34 /libavfilter/avf_showcqt.c
parent8cfab9fa8c1529f3d4db3e7d5b317acdbc08d37d (diff)
downloadffmpeg-f30a41a6086eb8c10f66090739a2a4f8491c3c7a.tar.gz
Stop hardcoding align=32 in av_frame_get_buffer() calls.
Use 0, which selects the alignment automatically.
Diffstat (limited to 'libavfilter/avf_showcqt.c')
-rw-r--r--libavfilter/avf_showcqt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avf_showcqt.c b/libavfilter/avf_showcqt.c
index cf8a102b80..cb0dca505f 100644
--- a/libavfilter/avf_showcqt.c
+++ b/libavfilter/avf_showcqt.c
@@ -365,7 +365,7 @@ static AVFrame *alloc_frame_empty(enum AVPixelFormat format, int w, int h)
out->format = format;
out->width = w;
out->height = h;
- if (av_frame_get_buffer(out, 32) < 0) {
+ if (av_frame_get_buffer(out, 0) < 0) {
av_frame_free(&out);
return NULL;
}