[vlc-commits] transcode/audio: don't initialise dec->fmt_out
Thomas Guillem
git at videolan.org
Fri Jan 5 17:53:59 CET 2018
vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jan 5 17:29:48 2018 +0100| [0ee1f6468d832c90ba0a5b0fe880611e4440a391] | committer: Jean-Baptiste Kempf
transcode/audio: don't initialise dec->fmt_out
It's already done by transcode/transcode.c
(cherry picked from commit d57688d952e7e932663246911bb2727ab4df284c)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=0ee1f6468d832c90ba0a5b0fe880611e4440a391
---
modules/stream_out/transcode/audio.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/modules/stream_out/transcode/audio.c b/modules/stream_out/transcode/audio.c
index dc1a9dc74b..aafead3b57 100644
--- a/modules/stream_out/transcode/audio.c
+++ b/modules/stream_out/transcode/audio.c
@@ -164,13 +164,6 @@ static int transcode_audio_new( sout_stream_t *p_stream,
*/
/* Initialization of decoder structures */
-
- /* No need to clean the fmt_out, it was freshly initialized by
- * es_format_Init in Add() */
- es_format_Copy( &id->p_decoder->fmt_out, &id->p_decoder->fmt_in );
- free( id->p_decoder->fmt_out.p_extra );
- id->p_decoder->fmt_out.i_extra = 0;
- id->p_decoder->fmt_out.p_extra = NULL;
id->p_decoder->pf_decode = NULL;
id->p_decoder->pf_queue_audio = decoder_queue_audio;
id->p_decoder->p_queue_ctx = id;
More information about the vlc-commits
mailing list