comparison msmpeg4.c @ 746:fccad7166d5a libavcodec

fixing wmv1 slice decoding
author michaelni
date Sun, 13 Oct 2002 19:53:32 +0000
parents 25d7fb7c89be
children 21b506d700cc
comparison
equal deleted inserted replaced
745:25d7fb7c89be 746:fccad7166d5a
691 */ 691 */
692 a = dc_val[ - 1]; 692 a = dc_val[ - 1];
693 b = dc_val[ - 1 - wrap]; 693 b = dc_val[ - 1 - wrap];
694 c = dc_val[ - wrap]; 694 c = dc_val[ - wrap];
695 695
696 if(s->first_slice_line && (n&2)==0){ 696 if(s->first_slice_line && (n&2)==0 && s->msmpeg4_version!=4){
697 b=c=1024; 697 b=c=1024;
698 } 698 }
699 699
700 /* XXX: the following solution consumes divisions, but it does not 700 /* XXX: the following solution consumes divisions, but it does not
701 necessitate to modify mpegvideo.c. The problem comes from the 701 necessitate to modify mpegvideo.c. The problem comes from the