changeset 6354:66dd95953ec2

very high bitrate (RealOne) support fixed
author arpi
date Sun, 09 Jun 2002 13:45:49 +0000
parents 31d5de7d9eeb
children e97686ab386b
files libmpcodecs/vd_real.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_real.c	Sun Jun 09 10:27:50 2002 +0000
+++ b/libmpcodecs/vd_real.c	Sun Jun 09 13:45:49 2002 +0000
@@ -144,7 +144,7 @@
 	// setup rv30 codec (codec sub-type and image dimensions):
 	if(extrahdr[1]>=0x30000000){
 	    ulong cmsg24[4]={sh->disp_w,sh->disp_h,sh->disp_w,sh->disp_h};
-	    ulong cmsg_data[3]={0x24,1+((extrahdr[0]>>16)&3),&cmsg24};
+	    ulong cmsg_data[3]={0x24,1+((extrahdr[0]>>16)&7),&cmsg24};
 	    (*rvyuv_custom_message)(cmsg_data,sh->context);
 	}
 	mp_msg(MSGT_DECVIDEO,MSGL_V,"INFO: RealVideo codec init OK!\n");