projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d0d55d
)
bugfix
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 29 Jan 2003 15:50:07 +0000
(15:50 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 29 Jan 2003 15:50:07 +0000
(15:50 +0000)
Originally committed as revision 1523 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/wmv2.c
patch
|
blob
|
history
diff --git
a/libavcodec/wmv2.c
b/libavcodec/wmv2.c
index
ae81767
..
6def6f2
100644
(file)
--- a/
libavcodec/wmv2.c
+++ b/
libavcodec/wmv2.c
@@
-504,8
+504,7
@@
static int16_t *wmv2_pred_motion(Wmv2Context *w, int *px, int *py){
diff= FFMAX(ABS(A[0] - B[0]), ABS(A[1] - B[1]));
- if(s->mb_x && s->mb_y && !s->mspel && w->top_left_mv_flag && diff >= 8)
- //FIXME top/left bit too if y=!0 && first_slice_line?
+ if(s->mb_x && !s->first_slice_line && !s->mspel && w->top_left_mv_flag && diff >= 8)
type= get_bits1(&s->gb);
else
type= 2;