diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-08-02 13:00:58 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-08-02 13:00:58 +0000 |
commit | 13859ac9da5f097ae35c530dc6193dcd4f93e531 (patch) | |
tree | e184745e1b40510cc21ddf76b58ce4578f49aea2 /libavformat/rm.c | |
parent | e44cad52914532d5e87f528b823f0f0ead21b1e0 (diff) | |
download | ffmpeg-13859ac9da5f097ae35c530dc6193dcd4f93e531.tar.gz |
dont be so picky
Originally committed as revision 3370 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rm.c')
-rw-r--r-- | libavformat/rm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/rm.c b/libavformat/rm.c index 186c494641..de16a3033c 100644 --- a/libavformat/rm.c +++ b/libavformat/rm.c @@ -639,7 +639,8 @@ static int rm_read_header(AVFormatContext *s, AVFormatParameters *ap) 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 @@ static int rm_read_header(AVFormatContext *s, AVFormatParameters *ap) 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; |