mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
add another ifdef
This commit is contained in:
parent
e24934d5ea
commit
ab49806a5f
@ -1754,8 +1754,10 @@ static void decode_thread(void *data)
|
||||
for (i = 0; (int)i < audio_streams_num; i++)
|
||||
swr_free(&swr[i]);
|
||||
|
||||
#if ENABLE_HW_ACCEL
|
||||
if (vctx && vctx->hw_device_ctx)
|
||||
av_buffer_unref(&vctx->hw_device_ctx);
|
||||
#endif
|
||||
|
||||
packet_buffer_destroy(audio_packet_buffer);
|
||||
packet_buffer_destroy(video_packet_buffer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user