[vlc-commits] transcode: don't init an es_format_t before calling es_format_Copy()
Steve Lhomme
git at videolan.org
Sun Jul 9 11:12:33 CEST 2017
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Sun Jul 9 10:27:46 2017 +0200| [021350d2584fcbab6395a5cb905a65dd37fae9e6] | committer: Rémi Denis-Courmont
transcode: don't init an es_format_t before calling es_format_Copy()
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=021350d2584fcbab6395a5cb905a65dd37fae9e6
---
modules/stream_out/transcode/transcode.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/modules/stream_out/transcode/transcode.c b/modules/stream_out/transcode/transcode.c
index 73b53c7a2f..3eba37a414 100644
--- a/modules/stream_out/transcode/transcode.c
+++ b/modules/stream_out/transcode/transcode.c
@@ -502,7 +502,6 @@ static sout_stream_id_sys_t *Add( sout_stream_t *p_stream,
goto error;
id->p_decoder->p_module = NULL;
es_format_Init( &id->p_decoder->fmt_out, p_fmt->i_cat, 0 );
- es_format_Init( &id->p_decoder->fmt_in, p_fmt->i_cat, 0 );
es_format_Copy( &id->p_decoder->fmt_in, p_fmt );
id->p_decoder->b_frame_drop_allowed = false;
More information about the vlc-commits
mailing list