aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/ffmpeg
diff options
context:
space:
mode:
authorGravatar Peter Hawkins <phawkins@google.com>2017-02-13 15:34:58 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-02-13 17:24:58 -0800
commitbc225bfaa534acc25047fe844f19edc333b7a76a (patch)
treefa76941d893ad2e31d0961194c68893a4dc29c5a /tensorflow/contrib/ffmpeg
parentd065a5d984794a0e59bc1787010ef4b911d4ef89 (diff)
Fix code that ignores tensorflow::Status.
Add a new tensorflow::Status::IgnoreError() method to mark call sites where a Status has been intentionally ignored. Change: 147402405
Diffstat (limited to 'tensorflow/contrib/ffmpeg')
-rw-r--r--tensorflow/contrib/ffmpeg/decode_audio_op.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/ffmpeg/decode_audio_op.cc b/tensorflow/contrib/ffmpeg/decode_audio_op.cc
index 15a31f9d31..a6a945094b 100644
--- a/tensorflow/contrib/ffmpeg/decode_audio_op.cc
+++ b/tensorflow/contrib/ffmpeg/decode_audio_op.cc
@@ -53,7 +53,7 @@ class FileDeleter {
explicit FileDeleter(const string& filename) : filename_(filename) {}
~FileDeleter() {
Env& env = *Env::Default();
- env.DeleteFile(filename_);
+ env.DeleteFile(filename_).IgnoreError();
}
private: