sub: remove unused sub_bitmaps.scaled field

This commit is contained in:
wm4 2016-07-03 19:30:27 +02:00
parent 8ed32e90c9
commit ea23a86f49
2 changed files with 0 additions and 5 deletions

View File

@ -436,5 +436,4 @@ void osd_rescale_bitmaps(struct sub_bitmaps *imgs, int frame_w, int frame_h,
bi->dw = (int)(bi->w * xscale + 0.5);
bi->dh = (int)(bi->h * yscale + 0.5);
}
imgs->scaled = xscale != 1 || yscale != 1;
}

View File

@ -58,10 +58,6 @@ struct sub_bitmaps {
enum sub_bitmap_format format;
// If false, dw==w && dh==h.
// SUBBITMAP_LIBASS is never scaled.
bool scaled;
struct sub_bitmap *parts;
int num_parts;