1
mirror of https://github.com/mpv-player/mpv synced 2024-08-08 13:25:45 +02:00

added mp3_printheader for mp3lib init\n

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4152 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2002-01-14 16:27:55 +00:00
parent 4ad244810f
commit a58a79de1b

View File

@ -724,12 +724,11 @@ case AFM_MPEG: {
MP3_Init();
#endif
MP3_samplerate=MP3_channels=0;
// printf("[\n");
sh_audio->a_buffer_len=MP3_DecodeFrame(sh_audio->a_buffer,-1);
// printf("]\n");
sh_audio->channels=2; // hack
sh_audio->samplerate=MP3_samplerate;
sh_audio->i_bps=MP3_bitrate*(1000/8);
MP3_PrintHeader();
break;
}
#ifdef HAVE_OGGVORBIS