diff options
Diffstat (limited to 'dxr3audiodecoder.c')
-rw-r--r-- | dxr3audiodecoder.c | 2 |
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( |