[vlc-commits] es_format: init video_format from es_format_Init

Thomas Guillem git at videolan.org
Mon Nov 21 16:26:04 CET 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Nov 21 16:20:32 2016 +0100| [d5400c1afa27a8be713fee7a4a0fc6c3a27bd2a7] | committer: Thomas Guillem

es_format: init video_format from es_format_Init

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

 src/misc/es_format.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/misc/es_format.c b/src/misc/es_format.c
index d646e78..c2f320d 100644
--- a/src/misc/es_format.c
+++ b/src/misc/es_format.c
@@ -451,7 +451,7 @@ void es_format_Init( es_format_t *fmt,
 
     memset( &fmt->audio, 0, sizeof(audio_format_t) );
     memset( &fmt->audio_replay_gain, 0, sizeof(audio_replay_gain_t) );
-    memset( &fmt->video, 0, sizeof(video_format_t) );
+    video_format_Init( &fmt->video, 0 );
     memset( &fmt->subs, 0, sizeof(subs_format_t) );
 
     fmt->b_packetized           = true;



More information about the vlc-commits mailing list