aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-02-14 16:05:36 +0000
committerDiego Biurrun <diego@biurrun.de>2009-02-14 16:05:36 +0000
commit39dba5e8dfd62dbf1f6815ab94d2884ec7c7041c (patch)
tree9f91bfade8bbefe926623db220fe87395fd04a95 /libavcodec
parent8e5cfb6e82bf6f54a7ff72df5b0ada7dd376de3d (diff)
downloadffmpeg-39dba5e8dfd62dbf1f6815ab94d2884ec7c7041c.tar.gz
whitespace cosmetics: Fix indentation depth.
Originally committed as revision 17233 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mpegvideo_xvmc.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/libavcodec/mpegvideo_xvmc.c b/libavcodec/mpegvideo_xvmc.c
index 7dae46a23b..750900ecb5 100644
--- a/libavcodec/mpegvideo_xvmc.c
+++ b/libavcodec/mpegvideo_xvmc.c
@@ -48,16 +48,16 @@ void XVMC_init_block(MpegEncContext *s){
}
void XVMC_pack_pblocks(MpegEncContext *s, int cbp){
-int i,j;
-const int mb_block_count = 4+(1<<s->chroma_format);
+ int i,j;
+ const int mb_block_count = 4+(1<<s->chroma_format);
j=0;
cbp<<= 12-mb_block_count;
for(i=0; i<mb_block_count; i++){
if(cbp & (1<<11)) {
- s->pblocks[i] = (short *)(&s->block[(j++)]);
+ s->pblocks[i] = (short *)(&s->block[(j++)]);
}else{
- s->pblocks[i] = NULL;
+ s->pblocks[i] = NULL;
}
cbp+=cbp;
}
@@ -119,11 +119,11 @@ void XVMC_field_end(MpegEncContext *s){
}
void XVMC_decode_mb(MpegEncContext *s){
-XvMCMacroBlock * mv_block;
-struct xvmc_render_state * render;
-int i,cbp,blocks_per_mb;
+ XvMCMacroBlock * mv_block;
+ struct xvmc_render_state * render;
+ int i,cbp,blocks_per_mb;
-const int mb_xy = s->mb_y * s->mb_stride + s->mb_x;
+ const int mb_xy = s->mb_y * s->mb_stride + s->mb_x;
if(s->encoding){
@@ -155,7 +155,7 @@ const int mb_xy = s->mb_y * s->mb_stride + s->mb_x;
//take the next free macroblock
mv_block = &render->mv_blocks[render->start_mv_blocks_num +
- render->filled_mv_blocks_num ];
+ render->filled_mv_blocks_num ];
mv_block->x = s->mb_x;
mv_block->y = s->mb_y;
@@ -276,7 +276,7 @@ const int mb_xy = s->mb_y * s->mb_stride + s->mb_x;
//copy blocks only if the codec doesn't support pblocks reordering
if(s->avctx->xvmc_acceleration == 1){
memcpy(&render->data_blocks[(render->next_free_data_block_num)*64],
- s->pblocks[i],sizeof(short)*8*8);
+ s->pblocks[i],sizeof(short)*8*8);
}
render->next_free_data_block_num++;
}