diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-02-11 18:01:52 +0300 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-02-11 18:01:52 +0300 |
commit | b57ac115ae683d44d73d9729eb17b10a10754ab9 (patch) | |
tree | deb9e3c8f31f9645210b777d7ad533deb5d20f13 /libavformat/electronicarts.c | |
parent | 1e4eb387d4768089cfe8db0141ccc23089694fce (diff) |
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
Originally committed as revision 17157 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/electronicarts.c')
-rw-r--r-- | libavformat/electronicarts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c index a7a48daaa9..fe19e70f73 100644 --- a/libavformat/electronicarts.c +++ b/libavformat/electronicarts.c @@ -444,7 +444,7 @@ static int ea_read_packet(AVFormatContext *s, 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); |