You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-14 22:15:12 +02:00
avcodec/mjpegdec: use FF_CEIL_RSHIFT() for width
No testcase known Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -2101,7 +2101,7 @@ the_end:
|
||||
if (!(s->upscale_h & (1<<p)))
|
||||
continue;
|
||||
if (p==1 || p==2) {
|
||||
w >>= hshift;
|
||||
w = FF_CEIL_RSHIFT(w, hshift);
|
||||
h = FF_CEIL_RSHIFT(h, vshift);
|
||||
}
|
||||
if (s->upscale_v & (1<<p))
|
||||
|
Reference in New Issue
Block a user