Mercurial > libavcodec.hg
comparison mpeg12.c @ 5429:4e7308c09d2e libavcodec
chroma_qscale seems not used anywhere for mpeg1/2 so do not waste cpu time setting it
| author | michael |
|---|---|
| date | Tue, 31 Jul 2007 20:44:48 +0000 |
| parents | b52fd9b223bb |
| children | d248295bd595 |
comparison
equal
deleted
inserted
replaced
| 5428:750d76a34871 | 5429:4e7308c09d2e |
|---|---|
| 1737 if(s->avctx->xvmc_acceleration > 1) | 1737 if(s->avctx->xvmc_acceleration > 1) |
| 1738 XVMC_init_block(s);//set s->block | 1738 XVMC_init_block(s);//set s->block |
| 1739 #endif | 1739 #endif |
| 1740 | 1740 |
| 1741 ret = mpeg_decode_mb(s, s->block); | 1741 ret = mpeg_decode_mb(s, s->block); |
| 1742 s->chroma_qscale= s->qscale; | |
| 1743 | 1742 |
| 1744 dprintf(s->avctx, "ret=%d\n", ret); | 1743 dprintf(s->avctx, "ret=%d\n", ret); |
| 1745 if (ret < 0) | 1744 if (ret < 0) |
| 1746 return -1; | 1745 return -1; |
| 1747 | 1746 |
