mirror of https://github.com/mpv-player/mpv
Don't kill me, pure indent change as I forgot to reindent when copy and pasting from dec_audio.c, as this is the first revision it doesn't break changelog!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5358 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
96b58cfa58
commit
e62a51110c
|
@ -150,7 +150,6 @@ static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen)
|
|||
{
|
||||
int j = 0, len = 0;
|
||||
void *faac_sample_buffer;
|
||||
//memset(sh->a_buffer,0,sh->a_buffer_size); // XXX: check if needed.
|
||||
|
||||
while(len < minlen) {
|
||||
/* update buffer */
|
||||
|
@ -186,9 +185,9 @@ static int decode_audio(sh_audio_t *sh,unsigned char *buf,int minlen,int maxlen)
|
|||
if(faac_finfo.error > 0) {
|
||||
mp_msg(MSGT_DECAUDIO,MSGL_WARN,"FAAD: Failed to decode frame: %s \n",
|
||||
faacDecGetErrorMessage(faac_finfo.error));
|
||||
} else if (faac_finfo.samples == 0)
|
||||
} else if (faac_finfo.samples == 0) {
|
||||
mp_msg(MSGT_DECAUDIO,MSGL_DBG2,"FAAD: Decoded zero samples!\n");
|
||||
else {
|
||||
} else {
|
||||
/* XXX: samples already multiplied by channels! */
|
||||
mp_msg(MSGT_DECAUDIO,MSGL_DBG2,"FAAD: Successfully decoded frame (%d Bytes)!\n",
|
||||
sh->samplesize*faac_finfo.samples);
|
||||
|
|
Loading…
Reference in New Issue