1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

fixing wmv1 slice decoding

Originally committed as revision 1031 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2002-10-13 19:53:32 +00:00
parent 2ce486d850
commit 26893f6bd4

View File

@ -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;
}