From b3401e8972399ecccff6c639cb845939ee6a8efc Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 3 Mar 2015 15:19:33 +0100 Subject: sub: this isn't needed either --- sub/dec_sub.c | 2 -- sub/sd.h | 3 --- 2 files changed, 5 deletions(-) (limited to 'sub') 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); diff --git a/sub/sd.h b/sub/sd.h index 3f348fcb32..7b2399056a 100644 --- a/sub/sd.h +++ b/sub/sd.h @@ -25,9 +25,6 @@ struct sd { // the resolution of the VO, nor does it have to be the OSD resolution. int sub_video_w, sub_video_h; - // Resolution hints stored in mp4 files. - int sub_stream_w, sub_stream_h; - // Shared renderer for ASS - done to avoid reloading embedded fonts. struct ass_library *ass_library; struct ass_renderer *ass_renderer; -- cgit v1.2.3