diff options
Diffstat (limited to 'libavfilter/vf_idet.c')
-rw-r--r-- | libavfilter/vf_idet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_idet.c b/libavfilter/vf_idet.c index d64c48c85c..d7c65444e0 100644 --- a/libavfilter/vf_idet.c +++ b/libavfilter/vf_idet.c @@ -195,7 +195,7 @@ static int end_frame(AVFilterLink *link) return 0; if (!idet->csp) - idet->csp = &av_pix_fmt_descriptors[link->format]; + idet->csp = av_pix_fmt_desc_get(link->format); if (idet->csp->comp[0].depth_minus1 / 8 == 1) idet->filter_line = (void*)filter_line_c_16bit; |