From: Rafaël Carré Date: Fri, 22 Jan 2010 13:40:59 +0000 (+0100) Subject: mpga decoder: modify input ES format with layer X-Git-Tag: 1.1.0-ff~1020 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=8f4a554c7b8c7333a18d8ac8893350e48dc5aad3;p=vlc mpga decoder: modify input ES format with layer --- diff --git a/modules/codec/mpeg_audio.c b/modules/codec/mpeg_audio.c index 6815abf64e..8d17e842d4 100644 --- a/modules/codec/mpeg_audio.c +++ b/modules/codec/mpeg_audio.c @@ -285,6 +285,8 @@ static void *DecodeBlock( decoder_t *p_dec, block_t **pp_block ) &p_sys->i_max_frame_size, &p_sys->i_layer ); + p_dec->fmt_in.i_profile = p_sys->i_layer; + if( p_sys->i_frame_size == -1 ) { msg_Dbg( p_dec, "emulated startcode" );