# HG changeset patch # User reimar # Date 1196517030 0 # Node ID 22c1f7cd553fd025085108ac02fee4ac7d777a05 # Parent eb2c5925ec34872006fb572fe9c383937548694c Fix some typos in comments, grammar is still bad. diff -r eb2c5925ec34 -r 22c1f7cd553f libmpdemux/demux_ogg.c --- a/libmpdemux/demux_ogg.c Sat Dec 01 13:35:25 2007 +0000 +++ b/libmpdemux/demux_ogg.c Sat Dec 01 13:50:30 2007 +0000 @@ -274,7 +274,7 @@ /* we pass complete packets to theora, mustn't strip the header! */ os->lastsize = 1; - /* header packets beginn on 1-bit: thus check (*data&0x80). We don't + /* header packets begin on 1-bit: thus check (*data&0x80). We don't have theora_state st, until all header packets were passed to the decoder. */ if (context != NULL && !(*data&0x80)) @@ -800,7 +800,7 @@ ogg_d->last_size = np; // We got one page now - if( ! ogg_page_bos(page) ) { // It's not a begining page + if( ! ogg_page_bos(page) ) { // It's not a beginning page // Header parsing end here, we need to get the page otherwise it will be lost int id = demux_ogg_get_page_stream(ogg_d,NULL); if(id >= 0) @@ -1245,7 +1245,7 @@ unsigned char *p = NULL,*buf; int plen; - /// Check that the cbSize is enouth big for the following reads + /// Check that the cbSize is big enough for the following reads if(sh_audio->wf->cbSize < 22+3*sizeof(uint32_t)) { mp_msg(MSGT_DEMUX,MSGL_ERR,"AVI Ogg : Initial audio header is too small !!!!!\n"); goto fallback;