This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avcodec/mjpegdec: use FF_CEIL_RSHIFT() for width
No testcase known Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.5
Michael Niedermayer
11 years ago
parent
b6e8f10bcb
commit
c5ffd7aee5
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/mjpegdec.c
+ 1
- 1
libavcodec/mjpegdec.c
View File
@@ -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))
Write
Preview
Loading…
Cancel
Save