Mercurial > libavcodec.hg
comparison jpeg_ls.c @ 4522:895b076101a8 libavcodec
Fix one warning
author | mbardiaux |
---|---|
date | Wed, 14 Feb 2007 09:57:41 +0000 |
parents | c5f74ebdba34 |
children | a96d905dcbaa |
comparison
equal
deleted
inserted
replaced
4521:891590781d9e | 4522:895b076101a8 |
---|---|
478 src[x] <<= shift; | 478 src[x] <<= shift; |
479 } | 479 } |
480 src += s->picture.linesize[0]; | 480 src += s->picture.linesize[0]; |
481 } | 481 } |
482 }else{ | 482 }else{ |
483 uint16_t *src = s->picture.data[0]; | 483 uint16_t *src = (uint16_t*) s->picture.data[0]; |
484 | 484 |
485 for(i = 0; i < s->height; i++){ | 485 for(i = 0; i < s->height; i++){ |
486 for(x = 0; x < w; x++){ | 486 for(x = 0; x < w; x++){ |
487 src[x] <<= shift; | 487 src[x] <<= shift; |
488 } | 488 } |