Mercurial > libavformat.hg
changeset 509:45abb3409125 libavformat
dont be so picky
author | michael |
---|---|
date | Mon, 02 Aug 2004 13:00:58 +0000 |
parents | 4655d19a3d94 |
children | 133287132e1d |
files | rm.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rm.c Mon Aug 02 05:42:49 2004 +0000 +++ b/rm.c Mon Aug 02 13:00:58 2004 +0000 @@ -639,7 +639,8 @@ goto fail; } st->codec.codec_tag = get_le32(pb); - if (st->codec.codec_tag != MKTAG('R', 'V', '1', '0')) + if ( st->codec.codec_tag != MKTAG('R', 'V', '1', '0') + && st->codec.codec_tag != MKTAG('R', 'V', '2', '0')) goto fail1; st->codec.width = get_be16(pb); st->codec.height = get_be16(pb); @@ -656,10 +657,11 @@ case 0x10000000: case 0x10003000: case 0x10003001: + default: st->codec.sub_id = h263_hack_version; st->codec.codec_id = CODEC_ID_RV10; break; - default: +// default: /* not handled */ st->codec.codec_id = CODEC_ID_NONE; break;