]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/vf_pp.c
avfilter: Constify all AVFilters
[ffmpeg] / libavfilter / vf_pp.c
index 29ab777e01060f4dd0c85ac7bd3f13bd9c904b93..5cd89932f8d4211a4c2e9d49122b050b7ee20a51 100644 (file)
@@ -145,7 +145,6 @@ static int pp_filter_frame(AVFilterLink *inlink, AVFrame *inbuf)
     if (ret < 0) {
         av_frame_free(&inbuf);
         av_frame_free(&outbuf);
-        av_freep(&qp_table);
         return ret;
     }
 
@@ -192,7 +191,7 @@ static const AVFilterPad pp_outputs[] = {
     { NULL }
 };
 
-AVFilter ff_vf_pp = {
+const AVFilter ff_vf_pp = {
     .name            = "pp",
     .description     = NULL_IF_CONFIG_SMALL("Filter video using libpostproc."),
     .priv_size       = sizeof(PPFilterContext),