Commit e1a57894 authored by Christophe Massiot's avatar Christophe Massiot

* modules/codec/fake.c: Fixed a segfault when outputting images locally.

parent a84ef627
......@@ -228,11 +228,11 @@ static int OpenDecoder( vlc_object_t *p_this )
if ( i_aspect )
{
p_dec->fmt_out.video.i_aspect = i_aspect;
fmt_out.video.i_aspect = i_aspect;
}
else
{
p_dec->fmt_out.video.i_aspect = fmt_out.i_width
fmt_out.video.i_aspect = fmt_out.i_width
* VOUT_ASPECT_FACTOR / fmt_out.i_height;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment