mirror of
https://github.com/mpv-player/mpv
synced 2025-01-19 22:01:10 +00:00
vd_lavc: remove unnecessary initialization
This is already the default value.
This commit is contained in:
parent
2fbd1d3610
commit
e5f61c2bd5
@ -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);
|
struct demux_packet *cc = new_demux_packet_from(sd->data, sd->size);
|
||||||
cc->pts = vd->codec_pts;
|
cc->pts = vd->codec_pts;
|
||||||
cc->dts = vd->codec_dts;
|
cc->dts = vd->codec_dts;
|
||||||
cc->pos = -1;
|
|
||||||
demuxer_feed_caption(vd->header, cc);
|
demuxer_feed_caption(vd->header, cc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user