Skip to content

Commit

Permalink
Fixed new API version checking
Browse files Browse the repository at this point in the history
  • Loading branch information
kala13x committed Nov 6, 2024
1 parent 65e372c commit b9cf5a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stdinc.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
LIBAVCODEC_VERSION_MINOR >= minor))

#ifndef XCODEC_USE_NEW_CHANNEL
#if XMEDIA_AVCODEC_VER_AT_LEAST(5, 7)
#if XMEDIA_AVCODEC_VER_AT_LEAST(59, 24)
#define XCODEC_USE_NEW_CHANNEL 1
#endif
#endif

#ifndef XCODEC_USE_NEW_FIFO
#if XMEDIA_AVCODEC_VER_AT_LEAST(5, 7)
#if XMEDIA_AVCODEC_VER_AT_LEAST(59, 24)
#define XCODEC_USE_NEW_FIFO 1
#endif
#endif
Expand Down

0 comments on commit b9cf5a6

Please sign in to comment.