equal
deleted
inserted
replaced
190 if (!g_pAStream) |
190 if (!g_pAStream) |
191 return 0; |
191 return 0; |
192 |
192 |
193 AVPacket Packet; |
193 AVPacket Packet; |
194 av_init_packet(&Packet); |
194 av_init_packet(&Packet); |
|
195 Packet.data = NULL; |
|
196 Packet.size = 0; |
195 |
197 |
196 int NumSamples = fread(g_pSamples, 2*g_Channels, g_NumSamples, g_pSoundFile); |
198 int NumSamples = fread(g_pSamples, 2*g_Channels, g_NumSamples, g_pSoundFile); |
197 |
199 |
198 #if LIBAVCODEC_VERSION_MAJOR >= 53 |
200 #if LIBAVCODEC_VERSION_MAJOR >= 53 |
199 AVFrame* pFrame = NULL; |
201 AVFrame* pFrame = NULL; |