OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6705a2
)
Set maximum lowres value for the MJPEG decoder to 3.
author
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Sat, 12 Feb 2011 14:29:10 +0000
(15:29 +0100)
committer
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Sat, 12 Feb 2011 14:38:26 +0000
(15:38 +0100)
While 4 works for some samples, 3 is the correct value since 8x8
DCT is used by (m)jpeg.
libavcodec/mjpegdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/mjpegdec.c
b/libavcodec/mjpegdec.c
index
fbc637a
..
dbfd599
100644
(file)
--- a/
libavcodec/mjpegdec.c
+++ b/
libavcodec/mjpegdec.c
@@
-1547,7
+1547,7
@@
AVCodec ff_mjpeg_decoder = {
ff_mjpeg_decode_frame,
CODEC_CAP_DR1,
NULL,
- .max_lowres =
4
,
+ .max_lowres =
3
,
.long_name = NULL_IF_CONFIG_SMALL("MJPEG (Motion JPEG)"),
};