From 4f40104844d9f8cd58ee4fd73a753fee92024314 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Fri, 23 Oct 2009 08:14:25 +0200 Subject: make use of ffmpeg macro --- dxr3audiodecoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dxr3audiodecoder.c') diff --git a/dxr3audiodecoder.c b/dxr3audiodecoder.c index 7daa831..ad084a4 100644 --- a/dxr3audiodecoder.c +++ b/dxr3audiodecoder.c @@ -135,7 +135,7 @@ void cDxr3AudioDecoder::Decode(cDxr3PesFrame *frame, uint32_t pts, cDxr3SyncBuff } } -#if LIBAVCODEC_VERSION_INT < ((51<<16)+(29<<8)+0) +#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(51, 29, 0) len = avcodec_decode_audio( #else len = avcodec_decode_audio2( -- cgit v1.2.3