[vlc-commits] demux: avi: missing es_format_Clean with dv

Francois Cartegnie git at videolan.org
Wed Jul 5 14:18:29 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jul  5 13:22:15 2017 +0200| [49fd33550dfa2178067abab29550167908fd4282] | committer: Francois Cartegnie

demux: avi: missing es_format_Clean with dv

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=49fd33550dfa2178067abab29550167908fd4282
---

 modules/demux/avi/avi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index 5108489ddd..8515fcd7ce 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -2841,6 +2841,7 @@ static void AVI_DvHandleAudio( demux_t *p_demux, avi_track_t *tk, block_t *p_fra
         tk->p_es_dv_audio = es_out_Add( p_demux->out, &fmt );
     }
     tk->i_dv_audio_rate = fmt.audio.i_rate;
+    es_format_Clean( &fmt );
 
     block_t *p_frame_audio = dv_extract_audio( p_frame );
     if( p_frame_audio )



More information about the vlc-commits mailing list