[FFmpeg-cvslog] avfilter/vf_spp: The qp array width is qp_stride not stride/16

Michael Niedermayer git at videolan.org
Fri Dec 12 18:51:01 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Dec 12 18:14:15 2014 +0100| [2a8eb0d1565afe1c6f6a805a743987926a8dbaa7] | committer: Michael Niedermayer

avfilter/vf_spp: The qp array width is qp_stride not stride/16

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2a8eb0d1565afe1c6f6a805a743987926a8dbaa7
---

 libavfilter/vf_spp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_spp.c b/libavfilter/vf_spp.c
index 406925a..43fce69 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);
             }
 



More information about the ffmpeg-cvslog mailing list