1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-22 15:56:59 +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; FT_Vector shift;
int MarginL, MarginR, MarginV; int MarginL, MarginR, MarginV;
int max_text_width; int max_text_width;
ass_style_t* style = frame_context.track->styles + event->Style;
int last_break; int last_break;
int alignment, halign, valign; int alignment, halign, valign;
int device_x = 0, device_y = 0; 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; halign = alignment & 3;
valign = alignment & 12; valign = alignment & 12;
MarginL = (event->MarginL) ? event->MarginL : style->MarginL; MarginL = (event->MarginL) ? event->MarginL : render_context.style->MarginL;
MarginR = (event->MarginR) ? event->MarginR : style->MarginR; MarginR = (event->MarginR) ? event->MarginR : render_context.style->MarginR;
MarginV = (event->MarginV) ? event->MarginV : style->MarginV; MarginV = (event->MarginV) ? event->MarginV : render_context.style->MarginV;
if (render_context.evt_type != EVENT_HSCROLL) { if (render_context.evt_type != EVENT_HSCROLL) {
// calculate max length of a line // calculate max length of a line