# HG changeset patch # User diego # Date 1181674250 0 # Node ID eac986610f471fdfc20732c2ad94f2a480707497 # Parent 3804e39efbfdd1398b4faea72ed571963e817d67 misc typo fixes diff -r 3804e39efbfd -r eac986610f47 avformat.h --- a/avformat.h Tue Jun 12 09:29:25 2007 +0000 +++ b/avformat.h Tue Jun 12 18:50:50 2007 +0000 @@ -259,7 +259,7 @@ int64_t timestamp; #define AVINDEX_KEYFRAME 0x0001 int flags:2; - int size:30; //yeah trying to keep the size of this small to reduce memory requirements (its 24 vs 32 byte due to possible 8byte align) + int size:30; //Yeah, trying to keep the size of this small to reduce memory requirements (it is 24 vs 32 byte due to possible 8byte align). int min_distance; /**< min distance between this and the previous keyframe, used to avoid unneeded searching */ } AVIndexEntry; @@ -720,10 +720,10 @@ * * The packet must contain one audio or video frame. * If the packets are already correctly interleaved the application should - * call av_write_frame() instead as it is slightly faster, it is also important - * to keep in mind that completly non interleaved input will need huge amounts - * of memory to interleave with this, so its prefereable to interleave at the - * demuxer level + * call av_write_frame() instead as it is slightly faster. It is also important + * to keep in mind that completely non-interleaved input will need huge amounts + * of memory to interleave with this, so it is preferable to interleave at the + * demuxer level. * * @param s media file handle * @param pkt the packet, which contains the stream_index, buf/buf_size, dts/pts, ... diff -r 3804e39efbfd -r eac986610f47 avio.h --- a/avio.h Tue Jun 12 09:29:25 2007 +0000 +++ b/avio.h Tue Jun 12 18:50:50 2007 +0000 @@ -85,9 +85,9 @@ int url_poll(URLPollEntry *poll_table, int n, int timeout); /** - * passing this as the "whence" parameter to a seek function causes it to - * return the filesize without seeking anywhere, supporting this is optional - * if its not supprted then the seek function will return <0 + * Passing this as the "whence" parameter to a seek function causes it to + * return the filesize without seeking anywhere. Supporting this is optional. + * If it is not supported then the seek function will return <0. */ #define AVSEEK_SIZE 0x10000 diff -r 3804e39efbfd -r eac986610f47 movenc.c --- a/movenc.c Tue Jun 12 09:29:25 2007 +0000 +++ b/movenc.c Tue Jun 12 18:50:50 2007 +0000 @@ -78,7 +78,7 @@ MOVTrack tracks[MAX_STREAMS]; } MOVContext; -//FIXME supprt 64bit varaint with wide placeholders +//FIXME support 64 bit variant with wide placeholders static offset_t updateSize (ByteIOContext *pb, offset_t pos) { offset_t curpos = url_ftell(pb); diff -r 3804e39efbfd -r eac986610f47 utils.c --- a/utils.c Tue Jun 12 09:29:25 2007 +0000 +++ b/utils.c Tue Jun 12 18:50:50 2007 +0000 @@ -423,7 +423,7 @@ must_open_file = 1; if (fmt && (fmt->flags & AVFMT_NOFILE)) { must_open_file = 0; - pb= NULL; //FIXME this or memset(pb, 0, sizeof(ByteIOContext)); otherwise its uninitalized + pb= NULL; //FIXME this or memset(pb, 0, sizeof(ByteIOContext)); otherwise it is uninitialized } if (!fmt || must_open_file) { @@ -1098,7 +1098,7 @@ ts_max= ts_min= AV_NOPTS_VALUE; - pos_limit= -1; //gcc falsely says it may be uninitalized + pos_limit= -1; //gcc falsely says it may be uninitialized st= s->streams[stream_index]; if(st->index_entries){