changeset 746:fccad7166d5a libavcodec

fixing wmv1 slice decoding
author michaelni
date Sun, 13 Oct 2002 19:53:32 +0000
parents 25d7fb7c89be
children 3d4377531f6c
files msmpeg4.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/msmpeg4.c	Sun Oct 13 13:16:04 2002 +0000
+++ b/msmpeg4.c	Sun Oct 13 19:53:32 2002 +0000
@@ -693,7 +693,7 @@
     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;
     }