X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ffmpeg_capture.cpp;h=04038056aa13aa6747dc2b82cdce0b5f38405df5;hb=0a5eac74e26f1b39cc4f60dc1c64974cfee6afae;hp=ab35c5c5ef1c5f18e66f338fa1cad20fef860a9d;hpb=142184354968cd1b1918f35772bb6f9f0b1351d6;p=nageru diff --git a/ffmpeg_capture.cpp b/ffmpeg_capture.cpp index ab35c5c..0403805 100644 --- a/ffmpeg_capture.cpp +++ b/ffmpeg_capture.cpp @@ -66,6 +66,8 @@ FFmpegCapture::FFmpegCapture(const string &filename, unsigned width, unsigned he { // Not really used for anything. description = "Video: " + filename; + + avformat_network_init(); // In case someone wants this. } FFmpegCapture::~FFmpegCapture()