[MPlayer-dev-eng] [PATCH] add optional device with dvd://

Mathieu SCHROETER mathieu.schroeter at gamesover.ch
Thu Jul 3 12:47:49 CEST 2008


Mathieu SCHROETER a écrit :
 >+  if(!p->device)
 >+    dvd_device_current = strdup(dvd_device ? dvd_device : 
DEFAULT_DVD_DEVICE);

Sorry previous patch is wrong because a leak exists on
dvd_device_current. Now strdup() is only used on dvd_device
(if necessary)...


Regards,
Mathieu SCHROETER
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stream_dvd-optional_device.r1.patch
Type: text/x-patch
Size: 3728 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080703/6008f2fa/attachment.bin>


More information about the MPlayer-dev-eng mailing list