1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-22 07:46:55 +00:00

Remove unneeded variable.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19655 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
eugeni 2006-09-03 17:09:53 +00:00
parent 661c16b62e
commit 83a3b732c4

View File

@ -1510,7 +1510,6 @@ static int ass_render_event(ass_event_t* event, event_images_t* event_images)
FT_Vector shift;
int MarginL, MarginR, MarginV;
int max_text_width;
ass_style_t* style = frame_context.track->styles + event->Style;
int last_break;
int alignment, halign, valign;
int device_x = 0, device_y = 0;
@ -1631,9 +1630,9 @@ static int ass_render_event(ass_event_t* event, event_images_t* event_images)
halign = alignment & 3;
valign = alignment & 12;
MarginL = (event->MarginL) ? event->MarginL : style->MarginL;
MarginR = (event->MarginR) ? event->MarginR : style->MarginR;
MarginV = (event->MarginV) ? event->MarginV : style->MarginV;
MarginL = (event->MarginL) ? event->MarginL : render_context.style->MarginL;
MarginR = (event->MarginR) ? event->MarginR : render_context.style->MarginR;
MarginV = (event->MarginV) ? event->MarginV : render_context.style->MarginV;
if (render_context.evt_type != EVENT_HSCROLL) {
// calculate max length of a line