comparison qcelpdec.c @ 8260:8aa88616d6d8 libavcodec

Silence some ICC warnings. Patch by Vitor Sessak.
author reynaldo
date Thu, 04 Dec 2008 20:24:22 +0000
parents 437300244051
children f93efc084e41
comparison
equal deleted inserted replaced
8259:437300244051 8260:8aa88616d6d8
598 }else if(q->bitrate >= RATE_QUARTER || 598 }else if(q->bitrate >= RATE_QUARTER ||
599 (q->bitrate == I_F_Q && !subframe_num)) 599 (q->bitrate == I_F_Q && !subframe_num))
600 ff_qcelp_lspf2lpc(curr_lspf, lpc); 600 ff_qcelp_lspf2lpc(curr_lspf, lpc);
601 } 601 }
602 602
603 static int buf_size2bitrate(const int buf_size) 603 static qcelp_packet_rate buf_size2bitrate(const int buf_size)
604 { 604 {
605 switch(buf_size) 605 switch(buf_size)
606 { 606 {
607 case 35: return RATE_FULL; 607 case 35: return RATE_FULL;
608 case 17: return RATE_HALF; 608 case 17: return RATE_HALF;
609 case 8: return RATE_QUARTER; 609 case 8: return RATE_QUARTER;
610 case 4: return RATE_OCTAVE; 610 case 4: return RATE_OCTAVE;
611 case 1: return SILENCE; 611 case 1: return SILENCE;
612 } 612 }
613 613
614 return -1; 614 return I_F_Q;
615 } 615 }
616 616
617 /** 617 /**
618 * Determine the bitrate from the frame size and/or the first byte of the frame. 618 * Determine the bitrate from the frame size and/or the first byte of the frame.
619 * 619 *