Mercurial > libavcodec.hg
comparison rv10.c @ 8733:91007f70b81a libavcodec
Fix unknown header 10001000 / http://samples.mplayerhq.hu/real/VC-RV10/thankyou.rm / issue809
author | michael |
---|---|
date | Tue, 03 Feb 2009 03:01:17 +0000 |
parents | e9d9d946f213 |
children | 0f95e4f0a3f5 |
comparison
equal
deleted
inserted
replaced
8732:967c0a1a60a0 | 8733:91007f70b81a |
---|---|
545 avctx->sub_id= AV_RB32((uint8_t*)avctx->extradata + 4); | 545 avctx->sub_id= AV_RB32((uint8_t*)avctx->extradata + 4); |
546 | 546 |
547 if (avctx->sub_id == 0x10000000) { | 547 if (avctx->sub_id == 0x10000000) { |
548 s->rv10_version= 0; | 548 s->rv10_version= 0; |
549 s->low_delay=1; | 549 s->low_delay=1; |
550 } else if (avctx->sub_id == 0x10001000) { | |
551 s->rv10_version= 3; | |
552 s->low_delay=1; | |
550 } else if (avctx->sub_id == 0x10002000) { | 553 } else if (avctx->sub_id == 0x10002000) { |
551 s->rv10_version= 3; | 554 s->rv10_version= 3; |
552 s->low_delay=1; | 555 s->low_delay=1; |
553 s->obmc=1; | 556 s->obmc=1; |
554 } else if (avctx->sub_id == 0x10003000) { | 557 } else if (avctx->sub_id == 0x10003000) { |