Page MenuHome

blender-libavformat-53.5.0.patch

blender-libavformat-53.5.0.patch

Index: intern/ffmpeg/ffmpeg_compat.h
===================================================================
--- intern/ffmpeg/ffmpeg_compat.h (revision 53901)
+++ intern/ffmpeg/ffmpeg_compat.h (working copy)
@@ -113,7 +113,7 @@
#define avformat_close_input(x) av_close_input_file(*(x))
#endif
-#if ((LIBAVCODEC_VERSION_MAJOR < 53) || (LIBAVCODEC_VERSION_MAJOR == 53 && LIBAVCODEC_VERSION_MINOR < 35))
+#if ((LIBAVCODEC_VERSION_MAJOR < 53) || (LIBAVCODEC_VERSION_MAJOR == 53 && LIBAVCODEC_VERSION_MINOR < 5))
static inline
int avcodec_open2(AVCodecContext *avctx, AVCodec *codec, AVDictionary **options)
{
@@ -129,7 +129,9 @@
/* TODO: no codec is taking into account */
return av_new_stream(s, 0);
}
+#endif
+#if ((LIBAVFORMAT_VERSION_MAJOR < 53) || (LIBAVFORMAT_VERSION_MAJOR == 53 && LIBAVFORMAT_VERSION_MINOR < 5))
static inline
int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
{

File Metadata

Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a2/a5/baa79451488d2b06b7b641bb750f

Event Timeline