# HG changeset patch # User diego # Date 1172052908 0 # Node ID 1a714d3f02333ccc051eeb423f06508e12f75383 # Parent c31d78661cf2e4421281be53833edbc7cf9ac15e cosmetics: Fix a common typo, sepErate --> sepArate. diff -r c31d78661cf2 -r 1a714d3f0233 h264.c --- a/h264.c Tue Feb 20 12:45:16 2007 +0000 +++ b/h264.c Wed Feb 21 10:15:08 2007 +0000 @@ -1952,8 +1952,8 @@ } //FIXME need to check that this doesnt overflow signed 32 bit for low qp, i am not sure, it's very close -//FIXME check that gcc inlines this (and optimizes intra & seperate_dc stuff away) -static inline int quantize_c(DCTELEM *block, uint8_t *scantable, int qscale, int intra, int seperate_dc){ +//FIXME check that gcc inlines this (and optimizes intra & separate_dc stuff away) +static inline int quantize_c(DCTELEM *block, uint8_t *scantable, int qscale, int intra, int separate_dc){ int i; const int * const quant_table= quant_coeff[qscale]; const int bias= intra ? (1<vb) ; while(vorbis_bitrate_flushpacket(&context->vd, &op)) { - if(op.bytes==1) //id love to say this is a hack, bad sadly its not, appearently the end of stream decission is in libogg + /* i'd love to say the following line is a hack, but sadly it's + * not, apparently the end of stream decision is in libogg. */ + if(op.bytes==1) continue; memcpy(context->buffer + context->buffer_index, &op, sizeof(ogg_packet)); context->buffer_index += sizeof(ogg_packet);