Commit 3b03186d authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'f046c3b5'

* commit 'f046c3b5':
  lavc: Move deprecation warning disabling to files including the table
  lavc: Disable deprectation warnings coming from options table
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents d563e13a f046c3b5
......@@ -33,7 +33,9 @@
#include <float.h> /* FLT_MIN, FLT_MAX */
#include <string.h>
FF_DISABLE_DEPRECATION_WARNINGS
#include "options_table.h"
FF_ENABLE_DEPRECATION_WARNINGS
static const char* context_to_name(void* ptr) {
AVCodecContext *avc= ptr;
......
......@@ -20,6 +20,8 @@
#include "avformat.h"
#include "avio_internal.h"
#include "internal.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
/**
......@@ -27,7 +29,9 @@
* Options definition for AVFormatContext.
*/
FF_DISABLE_DEPRECATION_WARNINGS
#include "options_table.h"
FF_ENABLE_DEPRECATION_WARNINGS
static const char* format_to_name(void* ptr)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment