Index: webrtc/modules/audio_coding/codecs/ilbc/get_cd_vec.h |
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/get_cd_vec.h b/webrtc/modules/audio_coding/codecs/ilbc/get_cd_vec.h |
index 07f67a2aa5eaaf561dee9ed4ad0db9606e53f07b..b0bf682c19348d5ce9a191c2427377d49337a748 100644 |
--- a/webrtc/modules/audio_coding/codecs/ilbc/get_cd_vec.h |
+++ b/webrtc/modules/audio_coding/codecs/ilbc/get_cd_vec.h |
@@ -19,12 +19,13 @@ |
#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_GET_CD_VEC_H_ |
#define WEBRTC_MODULES_AUDIO_CODING_CODECS_ILBC_MAIN_SOURCE_GET_CD_VEC_H_ |
-void WebRtcIlbcfix_GetCbVec( |
- int16_t *cbvec, /* (o) Constructed codebook vector */ |
- int16_t *mem, /* (i) Codebook buffer */ |
- size_t index, /* (i) Codebook index */ |
- size_t lMem, /* (i) Length of codebook buffer */ |
- size_t cbveclen /* (i) Codebook vector length */ |
- ); |
+// Returns true on success, false on failure. In case of failure, the decoder |
+// state may be corrupted and needs resetting. |
+int WebRtcIlbcfix_GetCbVec(int16_t* cbvec, /* (o) Constructed codebook vector */ |
+ int16_t* mem, /* (i) Codebook buffer */ |
+ size_t index, /* (i) Codebook index */ |
+ size_t lMem, /* (i) Length of codebook buffer */ |
+ size_t cbveclen /* (i) Codebook vector length */ |
+ ) WARN_UNUSED_RESULT; |
#endif |