| Index: webrtc/modules/audio_coding/test/PCMFile.h
|
| diff --git a/webrtc/modules/audio_coding/test/PCMFile.h b/webrtc/modules/audio_coding/test/PCMFile.h
|
| index 840933a1bd88c73708cc0f378d17a74fa365ab11..b5ced0bac9845a2bdb32c07c9985ff045faa965f 100644
|
| --- a/webrtc/modules/audio_coding/test/PCMFile.h
|
| +++ b/webrtc/modules/audio_coding/test/PCMFile.h
|
| @@ -26,11 +26,7 @@ class PCMFile {
|
| public:
|
| PCMFile();
|
| PCMFile(uint32_t timestamp);
|
| - ~PCMFile() {
|
| - if (pcm_file_ != NULL) {
|
| - fclose(pcm_file_);
|
| - }
|
| - }
|
| + ~PCMFile();
|
|
|
| void Open(const std::string& filename, uint16_t frequency, const char* mode,
|
| bool auto_rewind = false);
|
|
|