[FFmpeg-devel] [PATCH 04/14] avformat/avidec: Remove superfluous header

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Fri Oct 25 21:07:36 EEST 2019


bswap.h was included since 7b114c09, yet since 3788a3c0 no explicit use
of anything from bswap.h has been made, so remove this header.

(Only AV_RL32 is used and while this might imply swapping on
big-endian systems, it is contained in libavutil/intreadwrite.h.)

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
(I of course know that intreadwrite includes bswap.)

 libavformat/avidec.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index 1ca26968fa..5cf67a4771 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -23,7 +23,6 @@
 
 #include "libavutil/avassert.h"
 #include "libavutil/avstring.h"
-#include "libavutil/bswap.h"
 #include "libavutil/opt.h"
 #include "libavutil/dict.h"
 #include "libavutil/internal.h"
-- 
2.20.1



More information about the ffmpeg-devel mailing list