+ /* Find out p_vdec->i_raw_size */
+ vout_InitFormat( &p_dec->fmt_out.video, p_dec->fmt_in.i_codec,
+ p_dec->fmt_in.video.i_width,
+ p_dec->fmt_in.video.i_height,
+ p_dec->fmt_in.video.i_aspect );
+ p_sys->i_raw_size = p_dec->fmt_out.video.i_bits_per_pixel *
+ p_dec->fmt_out.video.i_width * p_dec->fmt_out.video.i_height / 8;
+
+ /* Set output properties */
+ p_dec->fmt_out.i_cat = VIDEO_ES;
+ p_dec->fmt_out.i_codec = p_dec->fmt_in.i_codec;
+ if( !p_dec->fmt_in.video.i_aspect )