[FFmpeg-cvslog] r25484 - trunk/libavformat/rtmpproto.c

aurel subversion
Fri Oct 15 15:09:35 CEST 2010


Author: aurel
Date: Fri Oct 15 15:09:35 2010
New Revision: 25484

Log:
properly check for FF_API_URL_CLASS instead of LIBAVFORMAT_VERSION_MAJOR

Modified:
   trunk/libavformat/rtmpproto.c

Modified: trunk/libavformat/rtmpproto.c
==============================================================================
--- trunk/libavformat/rtmpproto.c	Fri Oct 15 14:59:45 2010	(r25483)
+++ trunk/libavformat/rtmpproto.c	Fri Oct 15 15:09:35 2010	(r25484)
@@ -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



More information about the ffmpeg-cvslog mailing list