Commit 6fd46414 authored by Michael Niedermayer's avatar Michael Niedermayer

dont include opt.h in avcodec.h

Originally committed as revision 4591 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 1471c6c2
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include "avformat.h" #include "avformat.h"
#include "framehook.h" #include "framehook.h"
#include "dsputil.h" #include "dsputil.h"
#include "opt.h"
#ifndef CONFIG_WIN32 #ifndef CONFIG_WIN32
#include <unistd.h> #include <unistd.h>
......
...@@ -12,7 +12,6 @@ extern "C" { ...@@ -12,7 +12,6 @@ extern "C" {
#endif #endif
#include "avutil.h" #include "avutil.h"
#include "opt.h"
#include <sys/types.h> /* size_t */ #include <sys/types.h> /* size_t */
//FIXME the following 2 really dont belong in here //FIXME the following 2 really dont belong in here
...@@ -682,7 +681,7 @@ struct AVCLASS { ...@@ -682,7 +681,7 @@ struct AVCLASS {
or AVFormatContext, which begin with an AVClass. or AVFormatContext, which begin with an AVClass.
Needed because av_log is in libavcodec and has no visibility Needed because av_log is in libavcodec and has no visibility
of AVIn/OutputFormat */ of AVIn/OutputFormat */
AVOption *option; struct AVOption *option;
}; };
/** /**
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
*/ */
#include "avcodec.h" #include "avcodec.h"
#include "opt.h"
static double av_parse_num(const char *name, char **tail){ static double av_parse_num(const char *name, char **tail){
double d; double d;
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "dsputil.h" #include "dsputil.h"
#include "mpegvideo.h" #include "mpegvideo.h"
#include "integer.h" #include "integer.h"
#include "opt.h"
#include <stdarg.h> #include <stdarg.h>
#include <limits.h> #include <limits.h>
#include <float.h> #include <float.h>
......
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