summaryrefslogtreecommitdiffstats
path: root/rate-lavc/rate_lavcrate.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-08-26 17:06:43 +0200
committerTakashi Iwai <tiwai@suse.de>2008-08-26 17:06:43 +0200
commit567fb2d4ff1270a3c425688bd410edadc12428a2 (patch)
tree93b92ebf01ce3526cb2d4eb74fe52d3502e5ecc5 /rate-lavc/rate_lavcrate.c
parent2f29d651b5bd843411315861f2946dc64dbd4ac7 (diff)
Fix build with recent ffmpeg
Add a check of pkgconfig libavcodec in configure script. Since the header file was moved to <libavcodec/*>, its location has to be checked in configure, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'rate-lavc/rate_lavcrate.c')
-rw-r--r--rate-lavc/rate_lavcrate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rate-lavc/rate_lavcrate.c b/rate-lavc/rate_lavcrate.c
index ce48495..ea2e2f5 100644
--- a/rate-lavc/rate_lavcrate.c
+++ b/rate-lavc/rate_lavcrate.c
@@ -19,7 +19,7 @@
#include <stdio.h>
#include <alsa/asoundlib.h>
#include <alsa/pcm_rate.h>
-#include <ffmpeg/avcodec.h>
+#include AVCODEC_HEADER
#include "gcd.h"
static int filter_size = 16;