Commit ade800c5 authored by Aurelien Jacobs's avatar Aurelien Jacobs

properly check for FF_API_URL_CLASS instead of LIBAVFORMAT_VERSION_MAJOR

Originally committed as revision 25484 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ca51d86c
......@@ -38,10 +38,10 @@
#include "rtmppkt.h"
/* we can't use av_log() with URLContext yet... */
#if LIBAVFORMAT_VERSION_MAJOR < 53
#define LOG_CONTEXT NULL
#else
#if FF_API_URL_CLASS
#define LOG_CONTEXT s
#else
#define LOG_CONTEXT NULL
#endif
//#define DEBUG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment