OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4f42f1
)
Reduce max lowres from 5 to 3 in sp5x decoder
author
ami_stuff
<ami_stuff@o2.pl>
Thu, 28 Apr 2011 22:47:36 +0000
(
00:47
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 28 Apr 2011 23:29:19 +0000
(
01:29
+0200)
lowres higher than 3 crashes ffmpeg/ffplay here
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/sp5xdec.c
patch
|
blob
|
history
diff --git
a/libavcodec/sp5xdec.c
b/libavcodec/sp5xdec.c
index
dd31eda
..
1af978f
100644
(file)
--- a/
libavcodec/sp5xdec.c
+++ b/
libavcodec/sp5xdec.c
@@
-107,7
+107,7
@@
AVCodec ff_sp5x_decoder = {
sp5x_decode_frame,
CODEC_CAP_DR1,
NULL,
- .max_lowres =
5
,
+ .max_lowres =
3
,
.long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"),
};