Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Side by Side Diff: webrtc/modules/audio_coding/codecs/isac/fix/source/isacfix.c

Issue 1168753002: Match existing type usage better. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 418
419 stream_len = WebRtcIsacfix_EncodeImpl((int16_t*)speechIn, 419 stream_len = WebRtcIsacfix_EncodeImpl((int16_t*)speechIn,
420 &ISAC_inst->ISACenc_obj, 420 &ISAC_inst->ISACenc_obj,
421 &ISAC_inst->bwestimator_obj, 421 &ISAC_inst->bwestimator_obj,
422 ISAC_inst->CodingMode); 422 ISAC_inst->CodingMode);
423 if (stream_len<0) { 423 if (stream_len<0) {
424 ISAC_inst->errorcode = - stream_len; 424 ISAC_inst->errorcode = - stream_len;
425 return -1; 425 return -1;
426 } 426 }
427 427
428 write_be16(ISAC_inst->ISACenc_obj.bitstr_obj.stream, stream_len, encoded); 428 write_be16(ISAC_inst->ISACenc_obj.bitstr_obj.stream, (size_t)stream_len,
429 encoded);
429 return stream_len; 430 return stream_len;
430 431
431 } 432 }
432 433
433 434
434 435
435 436
436 /**************************************************************************** 437 /****************************************************************************
437 * WebRtcIsacfix_EncodeNb(...) 438 * WebRtcIsacfix_EncodeNb(...)
438 * 439 *
(...skipping 1081 matching lines...) Expand 10 before | Expand all | Expand 10 after
1520 * 1521 *
1521 * Output: 1522 * Output:
1522 * - version : Pointer to character string 1523 * - version : Pointer to character string
1523 * 1524 *
1524 */ 1525 */
1525 1526
1526 void WebRtcIsacfix_version(char *version) 1527 void WebRtcIsacfix_version(char *version)
1527 { 1528 {
1528 strcpy(version, "3.6.0"); 1529 strcpy(version, "3.6.0");
1529 } 1530 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/codecs/isac/fix/source/encode.c ('k') | webrtc/modules/audio_coding/codecs/isac/fix/test/kenny.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698