Browse Source

prevent segfault when passed no arguments

Originally committed as revision 1558 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Philip Gladstone 22 years ago
parent
commit
4be3147d0d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      vhook/imlib2.c

+ 1
- 1
vhook/imlib2.c View File

@@ -249,7 +249,7 @@ void Process(void *ctx, AVPicture *picture, enum PixelFormat pix_fmt, int width,
}
}

strftime(buff, sizeof(buff), tbp, localtime(&now));
strftime(buff, sizeof(buff), tbp ? tbp : "[No data]", localtime(&now));

x = ci->x;
y = ci->y;


Loading…
Cancel
Save