summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-08-19 14:55:18 +0200
committerwm4 <wm4@nowhere>2016-08-19 15:00:58 +0200
commite5f61c2bd5d15821e9d6f0967884156e210e74f4 (patch)
tree7f70fceaa19d0dcdb46dfdf048784f4e340ae74f
parent2fbd1d36102114bda8bfea2afb94fb084cc6539c (diff)
downloadmpv-e5f61c2bd5d15821e9d6f0967884156e210e74f4.tar.bz2
mpv-e5f61c2bd5d15821e9d6f0967884156e210e74f4.tar.xz
vd_lavc: remove unnecessary initialization
This is already the default value.
-rw-r--r--video/decode/vd_lavc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c
index 804bf1112d..a4f4e5e2e5 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -825,7 +825,6 @@ static void decode(struct dec_video *vd, struct demux_packet *packet,
struct demux_packet *cc = new_demux_packet_from(sd->data, sd->size);
cc->pts = vd->codec_pts;
cc->dts = vd->codec_dts;
- cc->pos = -1;
demuxer_feed_caption(vd->header, cc);
}