[rtmpdump] [PATCH] increment SO_VERSION/RTMP_LIB_VERSION

NhJm nhjm449 at gmail.com
Wed Dec 12 05:54:19 CET 2012


increment SO_VERSION/RTMP_LIB_VERSION

This should have been done each time the API was changed (i.e. parameters being
added to RTMP_SetupStream). Hopefully this will reduce the number of bug
reports caused by incompatible libraries being loaded. :)
---
 librtmp/Makefile |    2 +-
 librtmp/rtmp.h   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/librtmp/Makefile b/librtmp/Makefile
index 96c076b..4a3a9a5 100644
--- a/librtmp/Makefile
+++ b/librtmp/Makefile
@@ -36,7 +36,7 @@ CRYPTO_LIB=$(LIB_$(CRYPTO)) $(PRIVATE_LIBS)
 CRYPTO_REQ=$(REQ_$(CRYPTO))
 CRYPTO_DEF=$(DEF_$(CRYPTO))

-SO_VERSION=0
+SO_VERSION=1
 SOX_posix=so
 SOX_darwin=dylib
 SOX_mingw=dll
diff --git a/librtmp/rtmp.h b/librtmp/rtmp.h
index d723070..235980d 100644
--- a/librtmp/rtmp.h
+++ b/librtmp/rtmp.h
@@ -40,7 +40,7 @@ extern "C"
 {
 #endif

-#define RTMP_LIB_VERSION       0x020300        /* 2.3 */
+#define RTMP_LIB_VERSION       0x020400        /* 2.4 */

 #define RTMP_FEATURE_HTTP      0x01
 #define RTMP_FEATURE_ENC       0x02
-- 
1.7.2.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-increment-SO_VERSION-RTMP_LIB_VERSION.patch
Type: text/x-patch
Size: 1166 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/rtmpdump/attachments/20121211/ffc7b407/attachment.bin>


More information about the rtmpdump mailing list