summaryrefslogtreecommitdiffstats
path: root/demux/demux_mkv.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-04-24 21:33:33 +0200
committerwm4 <wm4@nowhere>2013-04-24 21:33:33 +0200
commit2337bc9d9bce3abb0af7c860c95018adde2aebe2 (patch)
treed1ddd85608e6f00ce2ef7796d928f37e4b5d12e5 /demux/demux_mkv.c
parentff549a2f6ade72ee9af42e911139bbee41daee5a (diff)
downloadmpv-2337bc9d9bce3abb0af7c860c95018adde2aebe2.tar.bz2
mpv-2337bc9d9bce3abb0af7c860c95018adde2aebe2.tar.xz
demux_mkv: cosmetics
Diffstat (limited to 'demux/demux_mkv.c')
-rw-r--r--demux/demux_mkv.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/demux/demux_mkv.c b/demux/demux_mkv.c
index ed5a2e2221..35d5938d78 100644
--- a/demux/demux_mkv.c
+++ b/demux/demux_mkv.c
@@ -2008,7 +2008,7 @@ static void handle_realaudio(demuxer_t *demuxer, mkv_track_t *track,
demuxer_add_packet(demuxer, track->stream, dp);
}
}
- } else { // Not a codec that require reordering
+ } else { // Not a codec that requires reordering
dp = new_demux_packet_from(buffer, size);
if (track->ra_pts == mkv_d->last_pts && !mkv_d->a_skip_to_keyframe)
dp->pts = 0;
@@ -2147,7 +2147,7 @@ static int handle_block(demuxer_t *demuxer, struct block_info *block_info)
if (use_this_block) {
if (laces > 1) {
mp_msg(MSGT_DEMUX, MSGL_WARN, "[mkv] Subtitles use Matroska "
- "lacing. This is abnormal and not supported.\n");
+ "lacing. This is abnormal and not supported.\n");
use_this_block = 0;
}
}
@@ -2178,8 +2178,7 @@ static int handle_block(demuxer_t *demuxer, struct block_info *block_info)
* for packets after the first one (rather than all pts
* values being the same) */
if (i == 0 || track->default_duration)
- dp->pts =
- mkv_d->last_pts + i * track->default_duration;
+ dp->pts = mkv_d->last_pts + i * track->default_duration;
dp->duration = block_duration / 1e9;
demuxer_add_packet(demuxer, stream, dp);
}