media-playback: Fix unused-parameter warning
This commit is contained in:
parent
096ec55c83
commit
865a358a52
2
deps/media-playback/media-playback/decode.c
vendored
2
deps/media-playback/media-playback/decode.c
vendored
@ -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…
x
Reference in New Issue
Block a user