Mercurial > libavcodec.hg
comparison ffv1.c @ 1453:20a79b0e6d2a libavcodec
removed warnings
author | bellard |
---|---|
date | Tue, 09 Sep 2003 22:50:44 +0000 |
parents | 8479b875a989 |
children | 79dddc5cd990 |
comparison
equal
deleted
inserted
replaced
1452:37dc515e3dac | 1453:20a79b0e6d2a |
---|---|
863 if(!f->ac){ | 863 if(!f->ac){ |
864 bytes_read = get_cabac_terminate(c); | 864 bytes_read = get_cabac_terminate(c); |
865 if(bytes_read ==0) printf("error at end of AC stream\n"); | 865 if(bytes_read ==0) printf("error at end of AC stream\n"); |
866 //printf("pos=%d\n", bytes_read); | 866 //printf("pos=%d\n", bytes_read); |
867 init_get_bits(&f->gb, buf + bytes_read, buf_size - bytes_read); | 867 init_get_bits(&f->gb, buf + bytes_read, buf_size - bytes_read); |
868 } else { | |
869 bytes_read = 0; /* avoid warning */ | |
868 } | 870 } |
869 | 871 |
870 if(1){ | 872 if(1){ |
871 const int chroma_width = -((-width )>>f->chroma_h_shift); | 873 const int chroma_width = -((-width )>>f->chroma_h_shift); |
872 const int chroma_height= -((-height)>>f->chroma_v_shift); | 874 const int chroma_height= -((-height)>>f->chroma_v_shift); |