]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_lut3d.c
avfilter/vf_ssim: fix some cosmetics issues
[ffmpeg] / libavfilter / vf_lut3d.c
index 3ef31ce6c25b913a4332efa39dbbd4b39efb310b..5bdbb7983b71de35975930ab5929f38f24ec0af0 100644 (file)
@@ -617,11 +617,11 @@ static const AVFilterPad lut3d_inputs[] = {
 };
 
 static const AVFilterPad lut3d_outputs[] = {
-     {
-         .name = "default",
-         .type = AVMEDIA_TYPE_VIDEO,
-     },
-     { NULL }
+    {
+        .name = "default",
+        .type = AVMEDIA_TYPE_VIDEO,
+    },
+    { NULL }
 };
 
 AVFilter ff_vf_lut3d = {
@@ -707,6 +707,8 @@ static int config_clut(AVFilterLink *inlink)
     LUT3DContext *lut3d = ctx->priv;
     const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(inlink->format);
 
+    av_assert0(desc);
+
     lut3d->clut_is16bit = 0;
     switch (inlink->format) {
     case AV_PIX_FMT_RGB48: