mirror of https://git.ffmpeg.org/ffmpeg.git
fixing wmv1 slice decoding
Originally committed as revision 1031 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2ce486d850
commit
26893f6bd4
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue