mirror of
https://github.com/mpv-player/mpv
synced 2024-09-09 01:16:56 +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:
parent
4ad244810f
commit
a58a79de1b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user