comparison libmpcodecs/dec_audio.c @ 18237:4231482179b6

Get ride of the several if(identify) messy lines and rearangment of some of the output, both patches by Kiriuja mplayer-patches AT en-directo_net, his changes are barely unrelated, nevertheless Im commiting them thogeter just for the sake of my mental healt, I had both patches already applied on my local three
author reynaldo
date Mon, 24 Apr 2006 07:20:34 +0000
parents db13b7295651
children cc65a585fdcc
comparison
equal deleted inserted replaced
18236:d239a79a0002 18237:4231482179b6
34 af_cfg_t af_cfg = {1, NULL}; // Configuration for audio filters 34 af_cfg_t af_cfg = {1, NULL}; // Configuration for audio filters
35 35
36 void afm_help(void){ 36 void afm_help(void){
37 int i; 37 int i;
38 mp_msg(MSGT_DECAUDIO,MSGL_INFO,MSGTR_AvailableAudioFm); 38 mp_msg(MSGT_DECAUDIO,MSGL_INFO,MSGTR_AvailableAudioFm);
39 if (identify) 39 mp_msg(MSGT_IDENTIFY, MSGL_INFO, "ID_AUDIO_DRIVERS\n");
40 mp_msg(MSGT_GLOBAL, MSGL_INFO, "ID_AUDIO_DRIVERS\n");
41 mp_msg(MSGT_DECAUDIO,MSGL_INFO," afm: info: (comment)\n"); 40 mp_msg(MSGT_DECAUDIO,MSGL_INFO," afm: info: (comment)\n");
42 for (i=0; mpcodecs_ad_drivers[i] != NULL; i++) 41 for (i=0; mpcodecs_ad_drivers[i] != NULL; i++)
43 if(mpcodecs_ad_drivers[i]->info->comment && mpcodecs_ad_drivers[i]->info->comment[0]) 42 if(mpcodecs_ad_drivers[i]->info->comment && mpcodecs_ad_drivers[i]->info->comment[0])
44 mp_msg(MSGT_DECAUDIO,MSGL_INFO,"%9s %s (%s)\n", 43 mp_msg(MSGT_DECAUDIO,MSGL_INFO,"%9s %s (%s)\n",
45 mpcodecs_ad_drivers[i]->info->short_name, 44 mpcodecs_ad_drivers[i]->info->short_name,