avutil/fifo: Don't include avutil.h

Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2021-07-23 11:31:02 +02:00
parent 99b5956af1
commit 0a1a8fcd56
3 changed files with 9 additions and 2 deletions

View File

@ -21,10 +21,13 @@
*/ */
#include <stdint.h> #include <stdint.h>
#include <string.h>
#include "avassert.h" #include "avassert.h"
#include "common.h" #include "error.h"
#include "fifo.h" #include "fifo.h"
#include "macros.h"
#include "mem.h"
// by default the FIFO can be auto-grown to 1MB // by default the FIFO can be auto-grown to 1MB
#define AUTO_GROW_DEFAULT_BYTES (1024 * 1024) #define AUTO_GROW_DEFAULT_BYTES (1024 * 1024)

View File

@ -24,9 +24,11 @@
#ifndef AVUTIL_FIFO_H #ifndef AVUTIL_FIFO_H
#define AVUTIL_FIFO_H #define AVUTIL_FIFO_H
#include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include "avutil.h"
#include "attributes.h" #include "attributes.h"
#include "version.h"
typedef struct AVFifo AVFifo; typedef struct AVFifo AVFifo;

View File

@ -18,7 +18,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#include <limits.h>
#include "fifo.h" #include "fifo.h"
#include "mem.h"
#include "threadmessage.h" #include "threadmessage.h"
#include "thread.h" #include "thread.h"