summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-09-05 23:22:35 +0200
committerClément Bœsch <ubitux@gmail.com>2012-09-05 23:22:35 +0200
commit5620088494acd2fc393aefaf6c6670d03f8056e7 (patch)
treea8b4d1f225da3e6cdb0078d58bb9ddad5b913243 /libavformat
parent9d9f34a3c1adcb75e6a25855f4ba78a71ea77b68 (diff)
lavf: fix a few typo in some comments.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 90455aacfc..9b251c7a46 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);