Browse Source

properly check for FF_API_URL_CLASS instead of LIBAVFORMAT_VERSION_MAJOR

Originally committed as revision 25484 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Aurelien Jacobs 15 years ago
parent
commit
ade800c5b7
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavformat/rtmpproto.c

+ 3
- 3
libavformat/rtmpproto.c View File

@@ -38,10 +38,10 @@
#include "rtmppkt.h" #include "rtmppkt.h"


/* we can't use av_log() with URLContext yet... */ /* 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 #define LOG_CONTEXT s
#else
#define LOG_CONTEXT NULL
#endif #endif


//#define DEBUG //#define DEBUG


Loading…
Cancel
Save