changeset 7083:6376abc95ae7

some newer rv20 variants also uses custommsg 0x24 to set codec subtype
author arpi
date Sat, 24 Aug 2002 23:06:38 +0000
parents 678e77165b8e
children ffd4c6024cdb
files libmpcodecs/vd_real.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_real.c	Sat Aug 24 22:40:01 2002 +0000
+++ b/libmpcodecs/vd_real.c	Sat Aug 24 23:06:38 2002 +0000
@@ -163,7 +163,7 @@
 	    return 0;
 	}
 	// setup rv30 codec (codec sub-type and image dimensions):
-	if(extrahdr[1]>=0x30000000){
+	if(extrahdr[1]>=0x20200002){
 	    unsigned long cmsg24[4]={sh->disp_w,sh->disp_h,sh->disp_w,sh->disp_h};
 	    unsigned long cmsg_data[3]={0x24,1+((extrahdr[0]>>16)&7),&cmsg24};
 	    (*rvyuv_custom_message)(cmsg_data,sh->context);