summaryrefslogtreecommitdiffstats
path: root/sub/dec_sub.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-03 15:19:33 +0100
committerwm4 <wm4@nowhere>2015-03-03 15:19:33 +0100
commitb3401e8972399ecccff6c639cb845939ee6a8efc (patch)
treef046db307d57cc5a97a3e7e5baa11326765b272e /sub/dec_sub.c
parent22d11d7b3a4f82128245ed5e0b7dfc91755ad188 (diff)
downloadmpv-b3401e8972399ecccff6c639cb845939ee6a8efc.tar.bz2
mpv-b3401e8972399ecccff6c639cb845939ee6a8efc.tar.xz
sub: this isn't needed either
Diffstat (limited to 'sub/dec_sub.c')
-rw-r--r--sub/dec_sub.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sub/dec_sub.c b/sub/dec_sub.c
index 7a0f5eb408..0a26e6f6a5 100644
--- a/sub/dec_sub.c
+++ b/sub/dec_sub.c
@@ -207,8 +207,6 @@ void sub_init_from_sh(struct dec_sub *sub, struct sh_stream *sh)
sub_set_extradata(sub, sh->sub->extradata, sh->sub->extradata_len);
struct sd init_sd = sub->init_sd;
init_sd.codec = sh->codec;
- init_sd.sub_stream_w = sh->sub->w;
- init_sd.sub_stream_h = sh->sub->h;
while (sub->num_sd < MAX_NUM_SD) {
struct sd *sd = talloc(NULL, struct sd);