]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_pp.c
gxf: Factorize code in get_sindex()
[ffmpeg] / libavfilter / vf_pp.c
index 3ab46b8abf0d0edee14e449e59324054f8c22136..eebc232db4ca67110fae45a533d434c1b9417bff 100644 (file)
@@ -125,6 +125,8 @@ static int pp_filter_frame(AVFilterLink *inlink, AVFrame *inbuf)
         return AVERROR(ENOMEM);
     }
     av_frame_copy_props(outbuf, inbuf);
+    outbuf->width  = inbuf->width;
+    outbuf->height = inbuf->height;
     qp_table = av_frame_get_qp_table(inbuf, &qstride, &qp_type);
 
     pp_postprocess((const uint8_t **)inbuf->data, inbuf->linesize,