From: John Stebbins Date: Sat, 2 Jun 2018 17:28:33 +0000 (-0700) Subject: encavcodec: set AVFrame width and height X-Git-Tag: 1.2.0~414 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1621e74f1c6d26b817a36555fee6c929bb4e8d2;p=handbrake encavcodec: set AVFrame width and height ffmpeg now requires this for video --- diff --git a/libhb/encavcodec.c b/libhb/encavcodec.c index 8484bba6a..fa5d27031 100644 --- a/libhb/encavcodec.c +++ b/libhb/encavcodec.c @@ -557,6 +557,8 @@ static void Encode( hb_work_object_t *w, hb_buffer_t *in, AVFrame frame = {0}; int ret; + frame.width = in->f.width; + frame.height = in->f.height; frame.data[0] = in->plane[0].data; frame.data[1] = in->plane[1].data; frame.data[2] = in->plane[2].data;