]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_paletteuse.c
lavfi: document that AVFilterLink is not for applications.
[ffmpeg] / libavfilter / vf_paletteuse.c
index e063ff7386317e6544bb14da6c1929fc03eefb48..69d3be92da8c3a14e9101d7b3fd23fc028853ca2 100644 (file)
@@ -889,7 +889,7 @@ static AVFrame *apply_palette(AVFilterLink *inlink, AVFrame *in)
     }
     memcpy(out->data[1], s->palette, AVPALETTE_SIZE);
     if (s->calc_mean_err)
-        debug_mean_error(s, in, out, inlink->frame_count);
+        debug_mean_error(s, in, out, inlink->frame_count_out);
     av_frame_free(&in);
     return out;
 }