Let initialization happen in the appropriate function
authorVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 04 Nov 2015 16:53:43 +0100
changeset 11300 f9fa0d6dc69f
parent 11299 64ad779be7bf
child 11304 a20f416c91ec
Let initialization happen in the appropriate function
hedgewars/avwrapper/avwrapper.c
--- a/hedgewars/avwrapper/avwrapper.c	Wed Nov 04 16:53:38 2015 +0100
+++ b/hedgewars/avwrapper/avwrapper.c	Wed Nov 04 16:53:43 2015 +0100
@@ -190,7 +190,7 @@
     if (!g_pAStream)
         return 0;
 
-    AVPacket Packet = { 0 };
+    AVPacket Packet;
     av_init_packet(&Packet);
 
     int NumSamples = fread(g_pSamples, 2*g_Channels, g_NumSamples, g_pSoundFile);