# HG changeset patch # User michael # Date 1100882190 0 # Node ID f28e99a6ac99690359c4d6acdf939004743ff986 # Parent f0bbf14d722c0d153958e32a2c6c8a8a5078d675 rv20 demuxing fix diff -r f0bbf14d722c -r f28e99a6ac99 rm.c --- a/rm.c Wed Nov 17 03:45:53 2004 +0000 +++ b/rm.c Fri Nov 19 16:36:30 2004 +0000 @@ -653,19 +653,11 @@ get_be16(pb); /* modification of h263 codec version (!) */ h263_hack_version = get_be32(pb); - switch(h263_hack_version) { - case 0x10000000: - case 0x10003000: - case 0x10003001: - default: - st->codec.sub_id = h263_hack_version; + st->codec.sub_id = h263_hack_version; + if((h263_hack_version>>28)==1) st->codec.codec_id = CODEC_ID_RV10; - break; -// default: - /* not handled */ - st->codec.codec_id = CODEC_ID_NONE; - break; - } + else + st->codec.codec_id = CODEC_ID_RV20; } /* skip codec info */ size = url_ftell(pb) - codec_pos;