summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-12-12 18:14:15 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-12-12 18:14:15 +0100
commit2a8eb0d1565afe1c6f6a805a743987926a8dbaa7 (patch)
tree852752b28c32d13815c6f31694742259e8d756bf /libavfilter
parente8dbecb99569e2054babab973e74a69017d02f09 (diff)
avfilter/vf_spp: The qp array width is qp_stride not stride/16
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_spp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_spp.c b/libavfilter/vf_spp.c
index 406925ad72..43fce691c6 100644
--- a/libavfilter/vf_spp.c
+++ b/libavfilter/vf_spp.c
@@ -321,7 +321,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
w = FF_CEIL_RSHIFT(inlink->w, 4);
h = 1;
} else {
- w = FF_CEIL_RSHIFT(qp_stride, 4);
+ w = qp_stride;
h = FF_CEIL_RSHIFT(inlink->h, 4);
}