| Index: webrtc/modules/audio_coding/codecs/g722/test/testG722.cc
|
| diff --git a/webrtc/modules/audio_coding/codecs/g722/test/testG722.cc b/webrtc/modules/audio_coding/codecs/g722/test/testG722.cc
|
| index c55a2eb3572175cde1df3d6527ad505049b20746..69a7d069cfaa72261b351221fb9bfa386c5c8543 100644
|
| --- a/webrtc/modules/audio_coding/codecs/g722/test/testG722.cc
|
| +++ b/webrtc/modules/audio_coding/codecs/g722/test/testG722.cc
|
| @@ -89,17 +89,17 @@ int main(int argc, char* argv[])
|
| sscanf(argv[3], "%s", outbit);
|
| sscanf(argv[4], "%s", outname);
|
|
|
| - if ((inp = fopen(inname,"rb")) == NULL) {
|
| - printf(" G.722: Cannot read file %s.\n", inname);
|
| - exit(1);
|
| + if ((inp = fopen(inname, "rb")) == nullptr) {
|
| + printf(" G.722: Cannot read file %s.\n", inname);
|
| + exit(1);
|
| }
|
| - if ((outbitp = fopen(outbit,"wb")) == NULL) {
|
| - printf(" G.722: Cannot write file %s.\n", outbit);
|
| - exit(1);
|
| + if ((outbitp = fopen(outbit, "wb")) == nullptr) {
|
| + printf(" G.722: Cannot write file %s.\n", outbit);
|
| + exit(1);
|
| }
|
| - if ((outp = fopen(outname,"wb")) == NULL) {
|
| - printf(" G.722: Cannot write file %s.\n", outname);
|
| - exit(1);
|
| + if ((outp = fopen(outname, "wb")) == nullptr) {
|
| + printf(" G.722: Cannot write file %s.\n", outname);
|
| + exit(1);
|
| }
|
| printf("\nInput:%s\nOutput bitstream:%s\nOutput:%s\n", inname, outbit, outname);
|
|
|
|
|