OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ac34d9
)
fix type 3 aka skipped blocks for old version
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 13 Aug 2007 01:06:04 +0000
(
01:06
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 13 Aug 2007 01:06:04 +0000
(
01:06
+0000)
Originally committed as revision 10097 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/4xm.c
patch
|
blob
|
history
diff --git
a/libavcodec/4xm.c
b/libavcodec/4xm.c
index
d6f298b
..
ba80a15
100644
(file)
--- a/
libavcodec/4xm.c
+++ b/
libavcodec/4xm.c
@@
-314,6
+314,8
@@
static void decode_p_block(FourXContext *f, uint16_t *dst, uint16_t *src, int lo
log2w--;
decode_p_block(f, dst , src , log2w, log2h, stride);
decode_p_block(f, dst + (1<<log2w), src + (1<<log2w), log2w, log2h, stride);
+ }else if(code == 3 && f->version==0){
+ mcdc(dst, src, log2w, h, stride, 1, 0);
}else if(code == 4){
src += f->mv[ *f->bytestream++ ];
mcdc(dst, src, log2w, h, stride, 1, le2me_16(*f->wordstream++));