[FFmpeg-cvslog] lavf: fix a few typo in some comments.

Clément Bœsch git at videolan.org
Wed Sep 5 23:18:23 CEST 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Wed Sep  5 23:22:35 2012 +0200| [5620088494acd2fc393aefaf6c6670d03f8056e7] | committer: Clément Bœsch

lavf: fix a few typo in some comments.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5620088494acd2fc393aefaf6c6670d03f8056e7
---

 libavformat/utils.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 90455aa..9b251c7 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -2012,7 +2012,7 @@ int avformat_seek_file(AVFormatContext *s, int stream_index, int64_t min_ts, int
     }
 
     //Fallback to old API if new is not implemented but old is
-    //Note the old has somewat different sematics
+    //Note the old has somewhat different semantics
     if (s->iformat->read_seek || 1) {
         int dir = (ts - min_ts > (uint64_t)(max_ts - ts) ? AVSEEK_FLAG_BACKWARD : 0);
         int ret = av_seek_frame(s, stream_index, ts, flags | dir);
@@ -3546,7 +3546,7 @@ int ff_interleave_add_packet(AVFormatContext *s, AVPacket *pkt,
         return AVERROR(ENOMEM);
     this_pktl->pkt= *pkt;
     pkt->destruct= NULL;             // do not free original but only the copy
-    av_dup_packet(&this_pktl->pkt);  // duplicate the packet if it uses non-alloced memory
+    av_dup_packet(&this_pktl->pkt);  // duplicate the packet if it uses non-allocated memory
 
     if(s->streams[pkt->stream_index]->last_in_packet_buffer){
         next_point = &(st->last_in_packet_buffer->next);



More information about the ffmpeg-cvslog mailing list