Skip to content

Commit

Permalink
remove redundant check from logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruslan-B committed Feb 19, 2017
1 parent c73746e commit ca76375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FFmpeg.AutoGen.Example/Program.cs
Expand Up @@ -38,7 +38,7 @@ private static unsafe void Main(string[] args)
ffmpeg.av_log_set_level(ffmpeg.AV_LOG_VERBOSE);
av_log_set_callback_callback logCallback = (p0, level, format, vl) =>
{
if (level > ffmpeg.av_log_get_level() || string.IsNullOrWhiteSpace(format)) return;
if (level > ffmpeg.av_log_get_level()) return;
var lineSize = 1024;
var lineBuffer = stackalloc byte[lineSize];
Expand Down

0 comments on commit ca76375

Please sign in to comment.