mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
fix error when compiling without libswresample
This commit is contained in:
parent
fbf9ef7cd3
commit
e0ae9b1bc7
@ -52,9 +52,11 @@ FfmpegAudioCursor(FfmpegAudio *src) :
|
|||||||
_packet_data(0),
|
_packet_data(0),
|
||||||
_format_ctx(0),
|
_format_ctx(0),
|
||||||
_audio_ctx(0),
|
_audio_ctx(0),
|
||||||
|
#ifdef HAVE_SWRESAMPLE
|
||||||
|
_resample_ctx(0),
|
||||||
|
#endif
|
||||||
_buffer(0),
|
_buffer(0),
|
||||||
_buffer_alloc(0),
|
_buffer_alloc(0)
|
||||||
_resample_ctx(0)
|
|
||||||
{
|
{
|
||||||
if (!_ffvfile.open_vfs(_filename)) {
|
if (!_ffvfile.open_vfs(_filename)) {
|
||||||
cleanup();
|
cleanup();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user