dont include opt.h in avcodec.h

Originally committed as revision 4591 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 20 years ago
parent 1471c6c2e8
commit 6fd46414db
  1. 1
      ffmpeg.c
  2. 3
      libavcodec/avcodec.h
  3. 1
      libavcodec/opt.c
  4. 1
      libavcodec/utils.c

@ -21,6 +21,7 @@
#include "avformat.h"
#include "framehook.h"
#include "dsputil.h"
#include "opt.h"
#ifndef CONFIG_WIN32
#include <unistd.h>

@ -12,7 +12,6 @@ extern "C" {
#endif
#include "avutil.h"
#include "opt.h"
#include <sys/types.h> /* size_t */
//FIXME the following 2 really dont belong in here
@ -682,7 +681,7 @@ struct AVCLASS {
or AVFormatContext, which begin with an AVClass.
Needed because av_log is in libavcodec and has no visibility
of AVIn/OutputFormat */
AVOption *option;
struct AVOption *option;
};
/**

@ -25,6 +25,7 @@
*/
#include "avcodec.h"
#include "opt.h"
static double av_parse_num(const char *name, char **tail){
double d;

@ -28,6 +28,7 @@
#include "dsputil.h"
#include "mpegvideo.h"
#include "integer.h"
#include "opt.h"
#include <stdarg.h>
#include <limits.h>
#include <float.h>

Loading…
Cancel
Save