Skip to content
Snippets Groups Projects
Commit bc309899 authored by gbazin's avatar gbazin
Browse files

* modules/codec/ffmpeg/encoder.c: win32 compilation fix

parent 0ea5cbd5
No related branches found
No related tags found
No related merge requests found
......@@ -330,7 +330,7 @@ int E_(OpenEncoder)( vlc_object_t *p_this )
&p_context->sample_aspect_ratio.den,
p_enc->fmt_in.video.i_aspect *
(int64_t)p_context->height / p_context->width,
VOUT_ASPECT_FACTOR, INT_MAX );
VOUT_ASPECT_FACTOR, 1 << 30 /* something big */ );
#else
p_context->aspect_ratio = ((float)p_enc->fmt_in.video.i_aspect) /
VOUT_ASPECT_FACTOR;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment