Commit 26893f6b authored by Michael Niedermayer's avatar Michael Niedermayer

fixing wmv1 slice decoding

Originally committed as revision 1031 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 2ce486d8
...@@ -693,7 +693,7 @@ static inline int msmpeg4_pred_dc(MpegEncContext * s, int n, ...@@ -693,7 +693,7 @@ static inline int msmpeg4_pred_dc(MpegEncContext * s, int n,
b = dc_val[ - 1 - wrap]; b = dc_val[ - 1 - wrap];
c = dc_val[ - 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; b=c=1024;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment