summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2011-06-10 08:31:00 +0000
committerUoti Urpala <uau@mplayer2.org>2011-07-06 09:46:17 +0300
commit55d4f6528cf2df2c108ed6ddcfe0247025bde988 (patch)
tree7eb2c1522c2cbf6035b7042ee5690f1f6b7d01f2 /sub
parentc6e4eb9f4b7e8e588aebba07b055d81aea27c5fe (diff)
downloadmpv-55d4f6528cf2df2c108ed6ddcfe0247025bde988.tar.bz2
mpv-55d4f6528cf2df2c108ed6ddcfe0247025bde988.tar.xz
cosmetics: Fix typos
Patch by Mike Castle, dalgoda+mplayer gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@33575 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'sub')
-rw-r--r--sub/vobsub.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sub/vobsub.c b/sub/vobsub.c
index a2fc94fb17..2d64541d53 100644
--- a/sub/vobsub.c
+++ b/sub/vobsub.c
@@ -1341,7 +1341,7 @@ void vobsub_out_output(void *me, const unsigned char *packet,
m = s / 60;
s -= m * 60;
ms = (s - (unsigned int) s) * 1000;
- if (ms >= 1000) /* prevent overfolws or bad float stuff */
+ if (ms >= 1000) /* prevent overflows or bad float stuff */
ms = 0;
if (h != last_h || m != last_m || (unsigned int) s != last_s || ms != last_ms) {
fprintf(vob->fidx, "timestamp: %02u:%02u:%02u:%03u, filepos: %09lx\n",
@@ -1382,13 +1382,13 @@ void vobsub_out_output(void *me, const unsigned char *packet,
datalen += 1; /* AID */
pad_len = 2048 - (p - buffer) - 4 /* MPEG ID */ - 2 /* payload len */ - datalen;
/* XXX - Go figure what should go here! In any case the
- packet has to be completly filled. If I can fill it
+ packet has to be completely filled. If I can fill it
with padding (0x000001be) latter I'll do that. But if
there is only room for 6 bytes then I can not write a
padding packet. So I add some padding in the PTS
field. This looks like a dirty kludge. Oh well... */
if (pad_len < 0) {
- /* Packet is too big. Let's try ommiting the PTS field */
+ /* Packet is too big. Let's try omitting the PTS field */
datalen -= pts_len;
pts_len = 0;
pad_len = 0;
@@ -1439,7 +1439,7 @@ void vobsub_out_output(void *me, const unsigned char *packet,
perror("ERROR: vobsub blank padding write failed");
} else if (remain < 0)
fprintf(stderr,
- "\nERROR: wrong thing happenned...\n"
+ "\nERROR: wrong thing happened...\n"
" I wrote a %i data bytes spu packet and that's too long\n", len);
}
}