fix uninitialised _frame pointer (thanks cfsworks for pointing it out)

This commit is contained in:
rdb 2014-04-18 15:22:56 +00:00
parent caad44773b
commit 78ed00ef2b

View File

@ -56,7 +56,8 @@ FfmpegAudioCursor(FfmpegAudio *src) :
_resample_ctx(0), _resample_ctx(0),
#endif #endif
_buffer(0), _buffer(0),
_buffer_alloc(0) _buffer_alloc(0),
_frame(0)
{ {
if (!_ffvfile.open_vfs(_filename)) { if (!_ffvfile.open_vfs(_filename)) {
cleanup(); cleanup();