changeset 36571:689594b793f7

demux_mov: Initialize "version" variable. The AMR cases leave it uninitialized otherwise.
author reimar
date Mon, 20 Jan 2014 22:08:36 +0000
parents e789b4c9007b
children 12ed11a8df90
files libmpdemux/demux_mov.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_mov.c	Mon Jan 20 22:08:35 2014 +0000
+++ b/libmpdemux/demux_mov.c	Mon Jan 20 22:08:36 2014 +0000
@@ -623,7 +623,7 @@
 		   // ([int32_t size,int32_t type,some data ],repeat)
 		} my_stdata;
 #endif
-		int version, adjust;
+		int version = 0, adjust;
 		int is_vorbis = 0;
 		sh->format=trak->fourcc;