comparison oggvorbis.c @ 4553:1a714d3f0233 libavcodec

cosmetics: Fix a common typo, sepErate --> sepArate.
author diego
date Wed, 21 Feb 2007 10:15:08 +0000
parents daae66c03857
children 6406b4e280d6
comparison
equal deleted inserted replaced
4552:c31d78661cf2 4553:1a714d3f0233
157 while(vorbis_analysis_blockout(&context->vd, &context->vb) == 1) { 157 while(vorbis_analysis_blockout(&context->vd, &context->vb) == 1) {
158 vorbis_analysis(&context->vb, NULL); 158 vorbis_analysis(&context->vb, NULL);
159 vorbis_bitrate_addblock(&context->vb) ; 159 vorbis_bitrate_addblock(&context->vb) ;
160 160
161 while(vorbis_bitrate_flushpacket(&context->vd, &op)) { 161 while(vorbis_bitrate_flushpacket(&context->vd, &op)) {
162 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 162 /* i'd love to say the following line is a hack, but sadly it's
163 * not, apparently the end of stream decision is in libogg. */
164 if(op.bytes==1)
163 continue; 165 continue;
164 memcpy(context->buffer + context->buffer_index, &op, sizeof(ogg_packet)); 166 memcpy(context->buffer + context->buffer_index, &op, sizeof(ogg_packet));
165 context->buffer_index += sizeof(ogg_packet); 167 context->buffer_index += sizeof(ogg_packet);
166 memcpy(context->buffer + context->buffer_index, op.packet, op.bytes); 168 memcpy(context->buffer + context->buffer_index, op.packet, op.bytes);
167 context->buffer_index += op.bytes; 169 context->buffer_index += op.bytes;