aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/ffmpeg
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-05-30 08:47:25 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-05-30 08:50:43 -0700
commitd83074847ebfe8871188f1f9f1e84ab0451f59e6 (patch)
treedbe0bd71cb9b8934889df83f221cef83f494a28e /tensorflow/contrib/ffmpeg
parentb73fea6e27b17dc4349754e585113e7a8138339e (diff)
Use "nullptr" for null pointer values
PiperOrigin-RevId: 157468186
Diffstat (limited to 'tensorflow/contrib/ffmpeg')
-rw-r--r--tensorflow/contrib/ffmpeg/default/ffmpeg_lib.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/ffmpeg/default/ffmpeg_lib.cc b/tensorflow/contrib/ffmpeg/default/ffmpeg_lib.cc
index a4dd3a642f..888f5c38a2 100644
--- a/tensorflow/contrib/ffmpeg/default/ffmpeg_lib.cc
+++ b/tensorflow/contrib/ffmpeg/default/ffmpeg_lib.cc
@@ -69,7 +69,7 @@ bool IsBinaryInstalled(const string& binary_name) {
for (const string& dir : str_util::Split(path, ':')) {
const string binary_path = io::JoinPath(dir, binary_name);
char absolute_path[PATH_MAX + 1];
- if (::realpath(binary_path.c_str(), absolute_path) == NULL) {
+ if (::realpath(binary_path.c_str(), absolute_path) == nullptr) {
continue;
}
struct stat statinfo;