aboutsummaryrefslogtreecommitdiffhomepage
path: root/mplayer.c
diff options
context:
space:
mode:
authorGravatar Uoti Urpala <uau@mplayer2.org>2011-07-06 06:37:22 +0300
committerGravatar Uoti Urpala <uau@mplayer2.org>2011-07-06 06:37:22 +0300
commita4166ac23933b4af9074ad801615127135bc98f3 (patch)
treeb062a0105debe93e04326037df116ac0e3487520 /mplayer.c
parent1f6970b8553cd93fc21f012478f478f9c356d586 (diff)
cleanup: remove useless set_codec_path() function
This function was left over from older logic to manipulate the "codec_path" global variable. Now that variable is fully handled by the general option system, so that the only effect of the function was to introduce memory leaks in some circumstances. Delete the useless function.
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mplayer.c b/mplayer.c
index 09ff374275..dcab19d019 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -3861,9 +3861,6 @@ int i;
set_priority();
#endif
- if (codec_path)
- set_codec_path(codec_path);
-
if(opts->video_driver_list && strcmp(opts->video_driver_list[0],"help")==0){
list_video_out();
opt_exit = 1;