diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-10-13 19:53:32 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-10-13 19:53:32 +0000 |
commit | 26893f6bd433b01e30d7f81782ff1577a9b3491b (patch) | |
tree | ae1bb80bffba559064d8885fd8aad4db3e65f3aa | |
parent | 2ce486d8505c84bc659357689c96c07b0a9aad66 (diff) | |
download | ffmpeg-26893f6bd433b01e30d7f81782ff1577a9b3491b.tar.gz |
fixing wmv1 slice decoding
Originally committed as revision 1031 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/msmpeg4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/msmpeg4.c b/libavcodec/msmpeg4.c index 0f6364f14a..e2a0fc98de 100644 --- a/libavcodec/msmpeg4.c +++ b/libavcodec/msmpeg4.c @@ -693,7 +693,7 @@ static inline int msmpeg4_pred_dc(MpegEncContext * s, int n, b = dc_val[ - 1 - wrap]; c = dc_val[ - wrap]; - if(s->first_slice_line && (n&2)==0){ + if(s->first_slice_line && (n&2)==0 && s->msmpeg4_version!=4){ b=c=1024; } |