summaryrefslogtreecommitdiffstats
path: root/media/ffvpx/libavcodec/ff_options_table.h
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/libavcodec/ff_options_table.h
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/libavcodec/ff_options_table.h')
-rw-r--r--media/ffvpx/libavcodec/ff_options_table.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/media/ffvpx/libavcodec/ff_options_table.h b/media/ffvpx/libavcodec/ff_options_table.h
deleted file mode 100644
index ee01275d3..000000000
--- a/media/ffvpx/libavcodec/ff_options_table.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright (c) 2001 Fabrice Bellard
- * Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
- *
- * This file is part of FFmpeg.
- *
- * FFmpeg is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * FFmpeg is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with FFmpeg; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef AVCODEC_OPTIONS_TABLE_H
-#define AVCODEC_OPTIONS_TABLE_H
-
-#include "libavutil/opt.h"
-static const AVOption avcodec_options[] = {
-{NULL},
-};
-
-#endif /* AVCODEC_OPTIONS_TABLE_H */