Mercurial > mplayer.hg
changeset 27194:fd1872d2b2d4
avoid unnecessary strdup(); patch by Aurel
author | nicodvb |
---|---|
date | Sun, 06 Jul 2008 18:04:14 +0000 |
parents | ef24b16e9da3 |
children | 5eb532ff5793 |
files | stream/stream_dvd.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/stream_dvd.c Sun Jul 06 15:13:04 2008 +0000 +++ b/stream/stream_dvd.c Sun Jul 06 18:04:14 2008 +0000 @@ -790,7 +790,7 @@ else if(dvd_device) dvd_device_current = dvd_device; else - dvd_device_current = strdup(DEFAULT_DVD_DEVICE); + dvd_device_current = DEFAULT_DVD_DEVICE; dvd_set_speed(dvd_device_current, dvd_speed); #if defined(__APPLE__) || defined(__DARWIN__) /* Dynamic DVD drive selection on Darwin */