From 2aa84ceccf88c4a613a36cde10e48b439ce28e00 Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Sun, 26 Feb 2012 13:02:57 +0100 Subject: Addidional changes for ffmpeg >= 0.9 --- command/decoder.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'command/decoder.cpp') diff --git a/command/decoder.cpp b/command/decoder.cpp index 6530ea0..e35961e 100644 --- a/command/decoder.cpp +++ b/command/decoder.cpp @@ -103,7 +103,9 @@ fail: cMarkAdDecoder::cMarkAdDecoder(bool useH264, int Threads) { +#if LIBAVCODEC_VERSION_INT < ((53<<16)+(7<<8)+1) avcodec_init(); +#endif avcodec_register_all(); last_qscale_table=NULL; -- cgit v1.2.3