diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-19 22:09:08 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-19 22:09:08 +0000 |
commit | cea9642014e833799eca40db03530ed0002f99d8 (patch) | |
tree | 98106d94c464ea0bf7da573ab1e9e853c8db2419 /libavcodec | |
parent | a56dcc57931fd19ef0d567ac60bc3973103f9890 (diff) | |
download | ffmpeg-cea9642014e833799eca40db03530ed0002f99d8.tar.gz |
Fix ;;
Originally committed as revision 12153 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/flac.c | 2 | ||||
-rw-r--r-- | libavcodec/g726.c | 2 | ||||
-rw-r--r-- | libavcodec/h264.c | 6 | ||||
-rw-r--r-- | libavcodec/mpegvideo.c | 6 | ||||
-rw-r--r-- | libavcodec/vp3.c | 2 | ||||
-rw-r--r-- | libavcodec/vqavideo.c | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/libavcodec/flac.c b/libavcodec/flac.c index 475c343e69..81ed55e354 100644 --- a/libavcodec/flac.c +++ b/libavcodec/flac.c @@ -721,7 +721,7 @@ static int flac_decode_frame(AVCodecContext *avctx, // s->last_blocksize = s->blocksize; end: - i= (get_bits_count(&s->gb)+7)/8;; + i= (get_bits_count(&s->gb)+7)/8; if(i > buf_size){ av_log(s->avctx, AV_LOG_ERROR, "overread: %d\n", i - buf_size); s->bitstream_size=0; diff --git a/libavcodec/g726.c b/libavcodec/g726.c index 912c38f7fc..d0073c1b4d 100644 --- a/libavcodec/g726.c +++ b/libavcodec/g726.c @@ -387,7 +387,7 @@ static int g726_decode_frame(AVCodecContext *avctx, mask = (1<<c->code_size) - 1; init_get_bits(&gb, buf, buf_size * 8); if (c->bits_left) { - int s = c->code_size - c->bits_left;; + int s = c->code_size - c->bits_left; code = (c->bit_buffer << s) | get_bits(&gb, s); *samples++ = g726_decode(&c->c, code & mask); } diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 41e4348452..7f37cb46af 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2919,7 +2919,7 @@ static int fill_default_ref_list(H264Context *h){ if(sel != PICT_FRAME) continue; frame_list[ list ][index ]= *h->long_ref[i]; - frame_list[ list ][index++].pic_id= i;; + frame_list[ list ][index++].pic_id= i; } len[list] = index; } @@ -2963,7 +2963,7 @@ static int fill_default_ref_list(H264Context *h){ sel = h->long_ref[i]->reference | structure_sel; if(sel != PICT_FRAME) continue; frame_list[0][index ]= *h->long_ref[i]; - frame_list[0][index++].pic_id= i;; + frame_list[0][index++].pic_id= i; } if (FIELD_PICTURE) @@ -5498,7 +5498,7 @@ static void decode_cabac_residual( H264Context *h, DCTELEM *block, int cat, int if( !qmul ) { block[j] = get_cabac_bypass_sign( CC, -1); }else{ - block[j] = (get_cabac_bypass_sign( CC, -qmul[j]) + 32) >> 6;; + block[j] = (get_cabac_bypass_sign( CC, -qmul[j]) + 32) >> 6; } abslevel1++; diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 6b14339db0..76a17d56d5 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -1097,8 +1097,8 @@ static void draw_line(uint8_t *buf, int sx, int sy, int ex, int ey, int w, int h for(y= 0; y <= ey; y++){ x = (y*f)>>16; fr= (y*f)&0xFFFF; - buf[y*stride + x ]+= (color*(0x10000-fr))>>16;; - buf[y*stride + x+1]+= (color* fr )>>16;; + buf[y*stride + x ]+= (color*(0x10000-fr))>>16; + buf[y*stride + x+1]+= (color* fr )>>16; } } } @@ -2129,7 +2129,7 @@ void ff_draw_horiz_band(MpegEncContext *s, int y, int h){ offset[2]= offset[3]= 0; }else{ - offset[0]= y * s->linesize;; + offset[0]= y * s->linesize; offset[1]= offset[2]= (y >> s->chroma_y_shift) * s->uvlinesize; offset[3]= 0; diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 6cb7fbe143..2beb93fb39 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -473,7 +473,7 @@ static int init_block_mapping(Vp3DecodeContext *s) current_width = -1; current_height = 0; superblock_row_inc = s->macroblock_width - - (s->y_superblock_width * 2 - s->macroblock_width);; + (s->y_superblock_width * 2 - s->macroblock_width); hilbert = hilbert_walk_mb; mapping_index = 0; current_macroblock = -1; diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c index 8a10909b9a..8e70143f47 100644 --- a/libavcodec/vqavideo.c +++ b/libavcodec/vqavideo.c @@ -133,7 +133,7 @@ static int vqa_decode_init(AVCodecContext *avctx) { VqaContext *s = avctx->priv_data; unsigned char *vqa_header; - int i, j, codebook_index;; + int i, j, codebook_index; s->avctx = avctx; avctx->pix_fmt = PIX_FMT_PAL8; |