Mercurial > libavcodec.hg
comparison qcelpdec.c @ 8500:2c3d8a3d902c libavcodec
Silence one warning when compiling with icc:
warning #188: enumerated type mixed with another type
if((q->bitrate = determine_bitrate(avctx, buf_size, &buf)) == I_F_Q)
^
author | cehoyos |
---|---|
date | Sun, 28 Dec 2008 19:44:47 +0000 |
parents | c0f1e9a9402c |
children | 555c2ab21d84 |
comparison
equal
deleted
inserted
replaced
8499:c45cc4e913dd | 8500:2c3d8a3d902c |
---|---|
644 * @return the bitrate on success, | 644 * @return the bitrate on success, |
645 * I_F_Q if the bitrate cannot be satisfactorily determined | 645 * I_F_Q if the bitrate cannot be satisfactorily determined |
646 * | 646 * |
647 * TIA/EIA/IS-733 2.4.8.7.1 | 647 * TIA/EIA/IS-733 2.4.8.7.1 |
648 */ | 648 */ |
649 static int determine_bitrate(AVCodecContext *avctx, const int buf_size, | 649 static qcelp_packet_rate determine_bitrate(AVCodecContext *avctx, const int buf_size, |
650 const uint8_t **buf) | 650 const uint8_t **buf) |
651 { | 651 { |
652 qcelp_packet_rate bitrate; | 652 qcelp_packet_rate bitrate; |
653 | 653 |
654 if((bitrate = buf_size2bitrate(buf_size)) >= 0) | 654 if((bitrate = buf_size2bitrate(buf_size)) >= 0) |