media-playback: Fix unused-parameter warning
parent
096ec55c83
commit
865a358a52
|
@ -97,6 +97,8 @@ static int mp_open_codec(struct mp_decode *d, bool hw)
|
|||
#ifdef USE_NEW_HARDWARE_CODEC_METHOD
|
||||
if (hw)
|
||||
init_hw_decoder(d, c);
|
||||
#else
|
||||
UNUSED_PARAMETER(hw);
|
||||
#endif
|
||||
|
||||
if (c->thread_count == 1 && c->codec_id != AV_CODEC_ID_PNG &&
|
||||
|
|
Loading…
Reference in New Issue