avcodec/exif: Don't include tiff.h in exif.h

The exif.h header doesn't use anything from tiff.h. We also just need
to include tiff_common.h in .c files where it actually used.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Schneider 2022-02-11 14:11:48 +01:00 committed by Andreas Rheinhardt
parent cf535d6d51
commit 59c647bcf3
4 changed files with 3 additions and 1 deletions

View File

@ -26,6 +26,7 @@
*/
#include "exif.h"
#include "tiff_common.h"
static const char *exif_get_tag_name(uint16_t id)

View File

@ -31,7 +31,6 @@
#include <stdint.h>
#include "libavutil/dict.h"
#include "bytestream.h"
#include "tiff.h"
#define EXIF_MAX_IFD_RECURSION 2
#define EXIF_TAG_NAME_LENGTH 32

View File

@ -50,6 +50,7 @@
#include "tiff.h"
#include "exif.h"
#include "bytestream.h"
#include "tiff_common.h"
static int init_default_huffman_tables(MJpegDecodeContext *s)

View File

@ -49,6 +49,7 @@
#include "get_bits.h"
#include "internal.h"
#include "thread.h"
#include "tiff_common.h"
#include "vp8.h"
#define VP8X_FLAG_ANIMATION 0x02