obs-ffmpeg: Include avcodec header for AVCodecContext

FFmpeg commit e67e02d15672 [1] drops avcodec.h from avformat.h includes.
Therefore we need to include it explicitly.

[1]: e67e02d156
     lavf/avformat.h: drop the avcodec.h include
This commit is contained in:
Ryan Foster
2021-11-06 18:57:35 -04:00
parent 6d1433f228
commit 08547a1696
4 changed files with 5 additions and 0 deletions

View File

@@ -24,6 +24,7 @@
#include <libavutil/opt.h>
#include <libavutil/pixdesc.h>
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include "obs-ffmpeg-formats.h"