author | Vittorio Giovara <vittorio.giovara@gmail.com> |
Tue, 10 Nov 2015 13:53:10 +0100 | |
changeset 11364 | f830c080aa9d |
parent 11363 | 9fc4dc5f8446 |
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);