[FFmpeg-devel] [PATCH 10/11] avisynth: Simplify a stray av_log message

Timothy Gu timothygu99 at gmail.com
Mon Oct 28 23:33:23 CET 2013


On Oct 28, 2013 1:55 PM, "Stephen Hutchinson" <qyot27 at gmail.com> wrote:
>
> ---
>  libavformat/avisynth.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c
> index 92818a5..f9ff3dc 100644
> --- a/libavformat/avisynth.c
> +++ b/libavformat/avisynth.c
> @@ -382,7 +382,7 @@ static int avisynth_open_file(AVFormatContext *s)
>          goto fail;
>      }
>      if (!avs_is_clip(val)) {
> -        av_log(s, AV_LOG_ERROR, "%s\n", "AviSynth script did not return
a clip");
> +        av_log(s, AV_LOG_ERROR, "AviSynth script did not return a clip");

You forgot the \n.

Rest looks OK.

[...]

Timothy


More information about the ffmpeg-devel mailing list