Mercurial > libavcodec.hg
diff 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 |
line wrap: on
line diff
--- a/oggvorbis.c Tue Feb 20 12:45:16 2007 +0000 +++ b/oggvorbis.c Wed Feb 21 10:15:08 2007 +0000 @@ -159,7 +159,9 @@ vorbis_bitrate_addblock(&context->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);