hedgewars/avwrapper/avwrapper.c
changeset 11364 f830c080aa9d
parent 11316 516e9b1ac889
child 11365 44248a9cdcac
--- a/hedgewars/avwrapper/avwrapper.c	Wed Nov 11 13:31:31 2015 +0300
+++ b/hedgewars/avwrapper/avwrapper.c	Tue Nov 10 13:53:10 2015 +0100
@@ -192,6 +192,8 @@
 
     AVPacket Packet;
     av_init_packet(&Packet);
+    Packet.data = NULL;
+    Packet.size = 0;
 
     int NumSamples = fread(g_pSamples, 2*g_Channels, g_NumSamples, g_pSoundFile);