projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44273f1
)
supporting rare overflow mess even with error_resilience>=0
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 4 Aug 2002 16:46:18 +0000
(16:46 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 4 Aug 2002 16:46:18 +0000
(16:46 +0000)
Originally committed as revision 839 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/msmpeg4.c
patch
|
blob
|
history
diff --git
a/libavcodec/msmpeg4.c
b/libavcodec/msmpeg4.c
index
ae82151
..
74c1699
100644
(file)
--- a/
libavcodec/msmpeg4.c
+++ b/
libavcodec/msmpeg4.c
@@
-1859,7
+1859,7
@@
static inline int msmpeg4_decode_block(MpegEncContext * s, DCTELEM * block,
if (i > 62){
i-= 192;
if(i&(~63)){
- if(s->error_resilience<0){
+ if(
(i+192 == 64 && level/qmul==-1) ||
s->error_resilience<0){
fprintf(stderr, "ignoring overflow at %d %d\n", s->mb_x, s->mb_y);
break;
}else{