Imported Debian version 2.5.0~trusty1.1
[deb_ffmpeg.git] / ffmpeg / libavfilter / vf_format.c
index 13b41e46639aa128ed0fc7ca1b020a483091a36e..96cb7fd0776402350cdc50ec8230c0e3ba5ba230 100644 (file)
@@ -60,8 +60,10 @@ static av_cold int init(AVFilterContext *ctx)
     int i;
     int ret;
 
-    if (!s->pix_fmts)
+    if (!s->pix_fmts) {
+        av_log(ctx, AV_LOG_ERROR, "Empty output format string.\n");
         return AVERROR(EINVAL);
+    }
 
     /* count the formats */
     cur = s->pix_fmts;