diff mbox series

[FFmpeg-devel] avfilter/avfilter: Fix compilation with TRACE defined

Message ID DB6PR0101MB2214B94ADA196A91C1759BF88FC99@DB6PR0101MB2214.eurprd01.prod.exchangelabs.com
State Accepted
Commit 260d7d5a6c18d3ae97ef9245597986299a0df49e
Headers show
Series [FFmpeg-devel] avfilter/avfilter: Fix compilation with TRACE defined | expand


Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt May 10, 2022, 12:53 p.m. UTC
av_get_pix_fmt_name() is used in an ff_tlog(), which is only
compiled if TRACE is defined. Fixes a regression caused by

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
 libavfilter/avfilter.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series


diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index a987dfe7b4..965f5d0f63 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -29,6 +29,7 @@ 
 #include "libavutil/hwcontext.h"
 #include "libavutil/internal.h"
 #include "libavutil/opt.h"
+#include "libavutil/pixdesc.h"
 #include "libavutil/rational.h"
 #include "libavutil/samplefmt.h"