Page Menu
Home
Search
Configure Global Search
Log In
Files
F26666
blender-libavformat-53.5.0.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Mathias Panzenböck (panzi)
Nov 13 2013, 5:36 PM
Size
922 B
Subscribers
None
blender-libavformat-53.5.0.patch
View Options
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
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a2/a5/baa79451488d2b06b7b641bb750f
Event Timeline
Log In to Comment