summaryrefslogtreecommitdiff
path: root/dxr3audiodecoder.c
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2009-10-23 08:14:25 +0200
committerChristian Gmeiner <christian.gmeiner@gmail.com>2009-10-23 08:14:25 +0200
commit4f40104844d9f8cd58ee4fd73a753fee92024314 (patch)
tree7db69ce3adb78909dc117c55032ac86d1bd5263b /dxr3audiodecoder.c
parent7b7616d8f988c6de3a6651e8357cd5de52808746 (diff)
downloadvdr-plugin-dxr3-4f40104844d9f8cd58ee4fd73a753fee92024314.tar.gz
vdr-plugin-dxr3-4f40104844d9f8cd58ee4fd73a753fee92024314.tar.bz2
make use of ffmpeg macro
Diffstat (limited to 'dxr3audiodecoder.c')
-rw-r--r--dxr3audiodecoder.c2
1 files changed, 1 insertions, 1 deletions
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(