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;