[FFmpeg-devel] [PATCH 1/2] avcodec/exif: Include bytestream.h for GetByteContext

Andreas Schneider asn at cryptomilk.org
Fri Feb 11 15:11:47 EET 2022


bytestream.h should be directly included for GetByteContext and not
rely on other headers to include it. It could be removed from there.

Signed-off-by: Andreas Schneider <asn at cryptomilk.org>
---
 libavcodec/exif.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/exif.h b/libavcodec/exif.h
index 4db84a1c2f..310f6e8e64 100644
--- a/libavcodec/exif.h
+++ b/libavcodec/exif.h
@@ -30,6 +30,7 @@
 
 #include <stdint.h>
 #include "libavutil/dict.h"
+#include "bytestream.h"
 #include "tiff.h"
 
 #define EXIF_MAX_IFD_RECURSION 2
-- 
2.34.1



More information about the ffmpeg-devel mailing list