From f0d6acf7fb9789bda3e13667e9f0b60d7063221e Mon Sep 17 00:00:00 2001 From: Gerhard Kitzler Date: Fri, 31 Jan 2014 09:52:44 +0000 Subject: [PATCH] windows fix for FFMPEG --- ng/ngpkg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ng/ngpkg.cpp b/ng/ngpkg.cpp index 584a2e0e..02353333 100644 --- a/ng/ngpkg.cpp +++ b/ng/ngpkg.cpp @@ -2329,7 +2329,7 @@ namespace netgen AVRational s; s.num = 1; s.den = 25; - context->time_base = (AVRational){ 1, 25 }; + context->time_base = s; context->gop_size = gopsize; context->max_b_frames = bframes; context->pix_fmt = PIX_FMT_YUV420P;