[vlc-devel] [PATCH 01/25] transcode: remove double es_format_Init
Steve Lhomme
robux4 at gmail.com
Mon Jul 10 16:57:19 CEST 2017
Oops, that one is wrong.
I confused p_decoder and p_encoder.
On Mon, Jul 10, 2017 at 4:52 PM, Steve Lhomme <robux4 at videolabs.io> wrote:
> ---
> modules/stream_out/transcode/transcode.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/modules/stream_out/transcode/transcode.c b/modules/stream_out/transcode/transcode.c
> index 3eba37a414..6a1f470b18 100644
> --- a/modules/stream_out/transcode/transcode.c
> +++ b/modules/stream_out/transcode/transcode.c
> @@ -512,8 +512,6 @@ static sout_stream_id_sys_t *Add( sout_stream_t *p_stream,
> id->p_encoder->p_module = NULL;
>
> /* Create destination format */
> - es_format_Init( &id->p_encoder->fmt_in, p_fmt->i_cat, 0 );
> - es_format_Init( &id->p_encoder->fmt_out, p_fmt->i_cat, 0 );
> id->p_encoder->fmt_out.i_id = p_fmt->i_id;
> id->p_encoder->fmt_out.i_group = p_fmt->i_group;
>
> --
> 2.12.1
>
More information about the vlc-devel
mailing list