lavc/svq3: stop including h264dec.h

The only thing that is actually used directly from there is the
PART_NOT_AVAILABLE constant, which can be moved to h264pred.h.

Otherwise it only depends on other indirectly included headers.
release/5.1
Anton Khirnov 3 years ago committed by Andreas Rheinhardt
parent 359912f0df
commit d0f0d61392
  1. 1
      libavcodec/h264dec.h
  2. 2
      libavcodec/h264pred.h
  3. 5
      libavcodec/svq3.c

@ -387,7 +387,6 @@ typedef struct H264Context {
uint8_t (*non_zero_count)[48];
#define LIST_NOT_USED -1 // FIXME rename?
#define PART_NOT_AVAILABLE -2
/**
* block_offset[ 0..23] for frame macroblocks

@ -86,6 +86,8 @@
#define DC_129_PRED8x8 8
//@}
#define PART_NOT_AVAILABLE -2
/**
* Context for storing H.264 prediction functions
*/

@ -49,13 +49,16 @@
#include "internal.h"
#include "avcodec.h"
#include "mpegutils.h"
#include "h264dec.h"
#include "h264data.h"
#include "h264dsp.h"
#include "h264pred.h"
#include "h264_parse.h"
#include "golomb.h"
#include "hpeldsp.h"
#include "mathops.h"
#include "rectangle.h"
#include "tpeldsp.h"
#include "videodsp.h"
#if CONFIG_ZLIB
#include <zlib.h>

Loading…
Cancel
Save