summaryrefslogtreecommitdiffstats
path: root/media/ffvpx/changes.patch
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-04-26 16:46:31 -0500
committertrav90 <travawine@protonmail.ch>2018-04-26 16:46:31 -0500
commit56a2df6b25bc93ea9a59b8e0bf8029f752f68573 (patch)
treefe4ca9816c362f2099e18df75fceca85561f9f5a /media/ffvpx/changes.patch
parent73aace89c1cd9bc77f420109ce4f94fed687c5d6 (diff)
downloadUXP-56a2df6b25bc93ea9a59b8e0bf8029f752f68573.tar
UXP-56a2df6b25bc93ea9a59b8e0bf8029f752f68573.tar.gz
UXP-56a2df6b25bc93ea9a59b8e0bf8029f752f68573.tar.lz
UXP-56a2df6b25bc93ea9a59b8e0bf8029f752f68573.tar.xz
UXP-56a2df6b25bc93ea9a59b8e0bf8029f752f68573.zip
[ffvpx] Restore AVOptions and dictionary features
FFmpeg requires specific default values in AVCodecContext to be set. Instead of manually setting these each time we resync with upstream, let's use FFmpeg's own AVOptions which automatically sets all the values to their default.
Diffstat (limited to 'media/ffvpx/changes.patch')
-rw-r--r--media/ffvpx/changes.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/media/ffvpx/changes.patch b/media/ffvpx/changes.patch
index 9cb49afaf..49a49b26b 100644
--- a/media/ffvpx/changes.patch
+++ b/media/ffvpx/changes.patch
@@ -50,16 +50,3 @@ index 9fb8d0a..97ad3b9 100644
rgba_color[0] = rgba >> 24;
rgba_color[1] = rgba >> 16;
rgba_color[2] = rgba >> 8;
-diff --git a/media/ffvpx/libavcodec/options.c b/media/ffvpx/libavcodec/options.c
-index d8e3dbf..f25df2a 100644
---- a/media/ffvpx/libavcodec/options.c
-+++ b/media/ffvpx/libavcodec/options.c
-@@ -34,7 +34,7 @@
- #include <string.h>
-
- FF_DISABLE_DEPRECATION_WARNINGS
--#include "options_table.h"
-+#include "ff_options_table.h"
- FF_ENABLE_DEPRECATION_WARNINGS
-
- static const char* context_to_name(void* ptr) {