diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-03 14:29:07 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-02-07 10:22:19 +0100 |
commit | 1a52cbd40482102c9ac9f63ab809f1336e91675a (patch) | |
tree | a4ab85bc6d816538f0231db9bd74115c98667857 /libavfilter/ccfifo.h | |
parent | 9b67c5a6841e37b980d7400c95e52d02d687b7a7 (diff) | |
download | ffmpeg-1a52cbd40482102c9ac9f63ab809f1336e91675a.tar.gz |
avfilter/ccfifo: Improve included headers
We don't need to include fifo.h, because we don't need AVFifo
as a complete type. Also add the other used headers directly.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/ccfifo.h')
-rw-r--r-- | libavfilter/ccfifo.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libavfilter/ccfifo.h b/libavfilter/ccfifo.h index 565a837a00..d3f8a52cc1 100644 --- a/libavfilter/ccfifo.h +++ b/libavfilter/ccfifo.h @@ -29,15 +29,17 @@ #ifndef AVFILTER_CCFIFO_H #define AVFILTER_CCFIFO_H -#include "libavutil/avutil.h" +#include <stddef.h> +#include <stdint.h> + #include "libavutil/frame.h" -#include "libavutil/fifo.h" +#include "libavutil/rational.h" #define CC_BYTES_PER_ENTRY 3 typedef struct CCFifo { - AVFifo *cc_608_fifo; - AVFifo *cc_708_fifo; + struct AVFifo *cc_608_fifo; + struct AVFifo *cc_708_fifo; AVRational framerate; int expected_cc_count; int expected_608; |