summaryrefslogtreecommitdiffstats
path: root/sub/spudec.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-10-25 19:37:43 +0200
committerwm4 <wm4@nowhere>2012-10-28 15:31:31 +0100
commit18d4eebedb7f80493da87f8506ff0b2db796510a (patch)
tree4f0f75a3358a52bc677a8696ec5dd8f7fe07dc4b /sub/spudec.c
parent06a45265194dc7e18475de9e3531977e32d7c196 (diff)
downloadmpv-18d4eebedb7f80493da87f8506ff0b2db796510a.tar.bz2
mpv-18d4eebedb7f80493da87f8506ff0b2db796510a.tar.xz
draw_bmp: cosmetics, refactor
Mostly pedantic bikeshedding issues. Move some code around, so that the sub_bitmap_to_mp_images() function can be split into two parts. This is better than having a big function with many input and outputs, of which only half are used in each code path. Also, try to make code simpler by using a mp_rect type.
Diffstat (limited to 'sub/spudec.c')
0 files changed, 0 insertions, 0 deletions