From f7813a5324be39d13ab536c245d15dfc602a7849 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sun, 29 Dec 2013 12:19:38 +0000 Subject: basic type mechanism working --- ffmpeg/libavcodec/audioconvert.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ffmpeg/libavcodec/audioconvert.c') diff --git a/ffmpeg/libavcodec/audioconvert.c b/ffmpeg/libavcodec/audioconvert.c index 5d8a348..5e46fae 100644 --- a/ffmpeg/libavcodec/audioconvert.c +++ b/ffmpeg/libavcodec/audioconvert.c @@ -32,6 +32,8 @@ #include "avcodec.h" #include "audioconvert.h" +#if FF_API_AUDIO_CONVERT + struct AVAudioConvert { int in_channels, out_channels; int fmt_pair; @@ -114,3 +116,5 @@ if(ctx->fmt_pair == ofmt + AV_SAMPLE_FMT_NB*ifmt){\ } return 0; } + +#endif /* FF_API_AUDIO_CONVERT */ -- cgit v1.2.3