changeset 4451:4b44e8f4853e libavformat

Add av_uninit macro to variable to avoid false positive warning: libavformat/electronicarts.c: In function ¡Æea_read_packet¡Ç: libavformat/electronicarts.c:447: warning: ¡Ænum_samples¡Ç may be used uninitialized in this function
author diego
date Wed, 11 Feb 2009 15:01:52 +0000
parents 8f1038d1ee6d
children 1842e64fe89a
files electronicarts.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/electronicarts.c	Wed Feb 11 11:09:36 2009 +0000
+++ b/electronicarts.c	Wed Feb 11 15:01:52 2009 +0000
@@ -444,7 +444,7 @@
     int packet_read = 0;
     unsigned int chunk_type, chunk_size;
     int key = 0;
-    int num_samples;
+    int av_uninit(num_samples);
 
     while (!packet_read) {
         chunk_type = get_le32(pb);