Tidy FFMPEG

This commit is contained in:
Kamil Trzcinski
2022-04-08 14:17:57 +02:00
parent eaf6f3d9ba
commit 740bbba104
4 changed files with 4 additions and 4 deletions

View File

@ -3,10 +3,10 @@
#ifdef USE_FFMPEG
static AVRational time_base = {1, 1000LL * 1000LL};
static int avio_ctx_buffer_size = 4096;
static int ffmpeg_remuxer_init_avcontext(AVFormatContext **context, ffmpeg_remuxer_t *remuxer, int output, int (*packet)(void *opaque, uint8_t *buf, int buf_size))
{
static int avio_ctx_buffer_size = 4096;
uint8_t *buffer = NULL;
AVIOContext *avio = NULL;
int ret = -1;

View File

@ -1,3 +1,5 @@
#include <stdint.h>
#ifdef USE_FFMPEG
#include <libavcodec/avcodec.h>
#include <libavformat/avio.h>