[MPlayer-dev-eng] [PATCH] Use BUFLENGTH for buf defined in draw_image

Marco Aurélio Graciotto Silva magsilva at gmail.com
Sun Dec 12 18:26:38 CET 2010


In libvo/vo_png.c, the variable 'buf', used to create the output
PNG filename, has a constant size of 100. However, vo_png.c
already defines and uses a constant, BUFLENGTH, for a similar
purpose at config(). So, I changed draw_image() to use
BUFLENGTH instead of 100 as its size.


Regards,

Marco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-vo_png_buflength.patch
Type: text/x-patch
Size: 710 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20101212/20a41708/attachment.bin>


More information about the MPlayer-dev-eng mailing list