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