]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_hqdn3d.c
lavu: Drop the {minus,plus}1 suffix from AVComponentDescriptor fields
[ffmpeg] / libavfilter / vf_hqdn3d.c
index 7f47a56a0b5b880e18b3d31b9993892a312f90b7..d8b1f3901eaaa0726a8ba81128c9dcdb5a77a0ef 100644 (file)
@@ -269,7 +269,7 @@ static int config_input(AVFilterLink *inlink)
 
     s->hsub  = desc->log2_chroma_w;
     s->vsub  = desc->log2_chroma_h;
-    s->depth = desc->comp[0].depth_minus1+1;
+    s->depth = desc->comp[0].depth;
 
     s->line = av_malloc(inlink->w * sizeof(*s->line));
     if (!s->line)