libobs, obs-ffmpeg, win-dshow: Fix FFmpeg 4.0 deprecation

Fixes FFmpeg 4.0 deprecation warnings.
This commit is contained in:
jp9000
2019-07-28 18:31:43 -07:00
parent a3fface27f
commit 68a5a40df9
11 changed files with 50 additions and 3 deletions

View File

@@ -154,7 +154,9 @@ bool media_remux_job_create(media_remux_job_t *job, const char *in_filename,
init_size(*job, in_filename);
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 9, 100)
av_register_all();
#endif
if (!init_input(*job, in_filename))
goto fail;