diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-12-29 12:19:38 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-12-29 12:19:38 +0000 |
| commit | f7813a5324be39d13ab536c245d15dfc602a7849 (patch) | |
| tree | fad99148b88823d34a5df2f0a25881a002eb291b /ffmpeg/libavcodec/h264idct_template.c | |
| parent | b7a5a477b8ff4d4e3028b9dfb9a9df0a41463f92 (diff) | |
basic type mechanism working
Diffstat (limited to 'ffmpeg/libavcodec/h264idct_template.c')
| -rw-r--r-- | ffmpeg/libavcodec/h264idct_template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg/libavcodec/h264idct_template.c b/ffmpeg/libavcodec/h264idct_template.c index 9f16e1d..42c32d1 100644 --- a/ffmpeg/libavcodec/h264idct_template.c +++ b/ffmpeg/libavcodec/h264idct_template.c @@ -145,7 +145,7 @@ void FUNCC(ff_h264_idct_dc_add)(uint8_t *_dst, int16_t *_block, int stride){ pixel *dst = (pixel*)_dst; dctcoef *block = (dctcoef*)_block; int dc = (block[0] + 32) >> 6; - stride >>= sizeof(pixel)-1; + stride /= sizeof(pixel); block[0] = 0; for( j = 0; j < 4; j++ ) { @@ -161,7 +161,7 @@ void FUNCC(ff_h264_idct8_dc_add)(uint8_t *_dst, int16_t *_block, int stride){ dctcoef *block = (dctcoef*)_block; int dc = (block[0] + 32) >> 6; block[0] = 0; - stride >>= sizeof(pixel)-1; + stride /= sizeof(pixel); for( j = 0; j < 8; j++ ) { for( i = 0; i < 8; i++ ) |
