Fix build with ffmpeg 5.0

PR #2948 <https://github.com/Genymobile/scrcpy/pull/2948>

Signed-off-by: Bernhard Rosenkränzer <bero@lindev.ch>
Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
Bernhard Rosenkränzer
2022-01-16 01:45:36 +01:00
committed by Romain Vimont
parent 60bf133ac2
commit 5e8fa56e7a
5 changed files with 8 additions and 5 deletions

View File

@@ -6,6 +6,7 @@
#include "trait/packet_sink.h"
#include <stdbool.h>
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#define DECODER_MAX_SINKS 2