loopy123 <[email protected]> added the comment:
Oops, there was a copy paste error in the original (in the calc of "w" -
after the plus sign)
Corrected:
if (w == -1)
w = av_rescale(h, inlink->w, inlink->h) + ( av_rescale(h,
inlink->w, inlink->h) % 2 );
if (h == -1)
h = av_rescale(w, inlink->h, inlink->w) + ( av_rescale(w,
inlink->h, inlink->w) % 2 );
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2158>
________________________________________________