[SCM] libav/experimental: add FF_API_READ_SEEK define to drop usage of AVInputFormat.read_seek and delay this transition to v54 as it is currently not functional
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:17:43 UTC 2013
The following commit has been merged in the experimental branch:
commit 634e0304a89c4e5ea749776a3d6ce82e396acb72
Author: Aurelien Jacobs <aurel at gnuage.org>
Date: Fri Oct 15 13:39:15 2010 +0000
add FF_API_READ_SEEK define to drop usage of AVInputFormat.read_seek
and delay this transition to v54 as it is currently not functional
Originally committed as revision 25486 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 940fc65..4bc8461 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -69,6 +69,9 @@
#ifndef FF_API_PARSE_FRAME_PARAM
#define FF_API_PARSE_FRAME_PARAM (LIBAVFORMAT_VERSION_MAJOR < 53)
#endif
+#ifndef FF_API_READ_SEEK
+#define FF_API_READ_SEEK (LIBAVFORMAT_VERSION_MAJOR < 54)
+#endif
/**
* I return the LIBAVFORMAT_VERSION_INT constant. You got
@@ -392,7 +395,7 @@ typedef struct AVInputFormat {
*/
int (*read_close)(struct AVFormatContext *);
-#if LIBAVFORMAT_VERSION_MAJOR < 53
+#if FF_API_READ_SEEK
/**
* Seek to a given timestamp relative to the frames in
* stream component stream_index.
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list