You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
prevent segfault when passed no arguments
Originally committed as revision 1558 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user