diff options
-rw-r--r-- | command/decoder.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |