Browse Source

options_table: Add some missing #includes to fix "make checkheaders".

Signed-off-by: Diego Biurrun <diego@biurrun.de>
tags/n0.11
Alex Converse Diego Biurrun 13 years ago
parent
commit
40f81769ae
2 changed files with 11 additions and 0 deletions
  1. +6
    -0
      libavcodec/options_table.h
  2. +5
    -0
      libavformat/options_table.h

+ 6
- 0
libavcodec/options_table.h View File

@@ -20,6 +20,12 @@
#ifndef AVCODEC_OPTIONS_TABLE
#define AVCODEC_OPTIONS_TABLE

#include <float.h>
#include <limits.h>

#include "libavutil/opt.h"
#include "avcodec.h"

#define OFFSET(x) offsetof(AVCodecContext,x)
#define DEFAULT 0 //should be NAN but it does not work as it is not a constant in glibc as required by ANSI/ISO C
//these names are too long to be readable


+ 5
- 0
libavformat/options_table.h View File

@@ -19,6 +19,11 @@
#ifndef AVFORMAT_OPTIONS_TABLE
#define AVFORMAT_OPTIONS_TABLE

#include <limits.h>

#include "libavutil/opt.h"
#include "avformat.h"

#define OFFSET(x) offsetof(AVFormatContext,x)
#define DEFAULT 0 //should be NAN but it does not work as it is not a constant in glibc as required by ANSI/ISO C
//these names are too long to be readable


Loading…
Cancel
Save