[FFmpeg-cvslog] r17157 - trunk/libavformat/electronicarts.c
diego
subversion
Wed Feb 11 16:01:52 CET 2009
Author: diego
Date: Wed Feb 11 16:01:52 2009
New Revision: 17157
Log:
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
Modified:
trunk/libavformat/electronicarts.c
Modified: trunk/libavformat/electronicarts.c
==============================================================================
--- trunk/libavformat/electronicarts.c Wed Feb 11 15:57:42 2009 (r17156)
+++ trunk/libavformat/electronicarts.c Wed Feb 11 16:01:52 2009 (r17157)
@@ -444,7 +444,7 @@ static int ea_read_packet(AVFormatContex
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);
More information about the ffmpeg-cvslog
mailing list