summaryrefslogtreecommitdiff
path: root/community/mlt/ffmpeg.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/mlt/ffmpeg.patch')
-rw-r--r--community/mlt/ffmpeg.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/community/mlt/ffmpeg.patch b/community/mlt/ffmpeg.patch
deleted file mode 100644
index 7bd4903db..000000000
--- a/community/mlt/ffmpeg.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff -wbBur mlt-0.8.2/src/modules/avformat/consumer_avformat.c mlt-0.8.2.my/src/modules/avformat/consumer_avformat.c
---- mlt-0.8.2/src/modules/avformat/consumer_avformat.c 2012-08-28 20:25:58.000000000 +0400
-+++ mlt-0.8.2.my/src/modules/avformat/consumer_avformat.c 2012-11-06 16:03:07.269782436 +0400
-@@ -237,11 +237,7 @@
- mlt_properties_set_data( properties, "acodec", codecs, 0, (mlt_destructor) mlt_properties_close, NULL );
- mlt_properties_set_data( doc, "audio_codecs", codecs, 0, NULL, NULL );
- while ( ( codec = av_codec_next( codec ) ) )
--#if LIBAVCODEC_VERSION_INT >= ((54<<16)+(0<<8)+0)
-- if ( ( codec->encode || codec->encode2 ) && codec->type == CODEC_TYPE_AUDIO )
--#else
-- if ( codec->encode && codec->type == CODEC_TYPE_AUDIO )
--#endif
-+ if ( ( codec->encode2 ) && codec->type == CODEC_TYPE_AUDIO )
- {
- snprintf( key, sizeof(key), "%d", mlt_properties_count( codecs ) );
- mlt_properties_set( codecs, key, codec->name );
-@@ -261,11 +257,7 @@
- mlt_properties_set_data( properties, "vcodec", codecs, 0, (mlt_destructor) mlt_properties_close, NULL );
- mlt_properties_set_data( doc, "video_codecs", codecs, 0, NULL, NULL );
- while ( ( codec = av_codec_next( codec ) ) )
--#if LIBAVCODEC_VERSION_INT >= ((54<<16)+(0<<8)+0)
-- if ( (codec->encode || codec->encode2) && codec->type == CODEC_TYPE_VIDEO )
--#else
-- if ( codec->encode && codec->type == CODEC_TYPE_VIDEO )
--#endif
-+ if ( (codec->encode2) && codec->type == CODEC_TYPE_VIDEO )
- {
- snprintf( key, sizeof(key), "%d", mlt_properties_count( codecs ) );
- mlt_properties_set( codecs, key, codec->name );