Browse Source

dont include opt.h in avcodec.h

Originally committed as revision 4591 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 20 years ago
parent
commit
6fd46414db
4 changed files with 4 additions and 2 deletions
  1. +1
    -0
      ffmpeg.c
  2. +1
    -2
      libavcodec/avcodec.h
  3. +1
    -0
      libavcodec/opt.c
  4. +1
    -0
      libavcodec/utils.c

+ 1
- 0
ffmpeg.c View File

@@ -21,6 +21,7 @@
#include "avformat.h"
#include "framehook.h"
#include "dsputil.h"
#include "opt.h"

#ifndef CONFIG_WIN32
#include <unistd.h>


+ 1
- 2
libavcodec/avcodec.h View File

@@ -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;
};

/**


+ 1
- 0
libavcodec/opt.c View File

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


+ 1
- 0
libavcodec/utils.c View File

@@ -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