summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-10-25 19:27:29 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2017-10-25 21:50:37 +0200
commitc23209f63d51a33061f336c2a53e1dae664182d0 (patch)
tree33f5f7dedd46bf0152d6c86c09a97100868ca143 /tools
parente6debcaaed2290f6877809087a188db661ee1400 (diff)
downloadffmpeg-streaming-c23209f63d51a33061f336c2a53e1dae664182d0.zip
ffmpeg-streaming-c23209f63d51a33061f336c2a53e1dae664182d0.tar.gz
tools/target_dec_fuzzer: Fix build after AV_CODEC_CAP_HWACCEL_VDPAU was removed
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tools')
-rw-r--r--tools/target_dec_fuzzer.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/target_dec_fuzzer.c b/tools/target_dec_fuzzer.c
index 65b9f09..62d62a9 100644
--- a/tools/target_dec_fuzzer.c
+++ b/tools/target_dec_fuzzer.c
@@ -154,10 +154,6 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
av_log_set_level(AV_LOG_PANIC);
}
- // Unsupported
- if (c->capabilities & AV_CODEC_CAP_HWACCEL_VDPAU)
- return 0;
-
switch (c->type) {
case AVMEDIA_TYPE_AUDIO : decode_handler = avcodec_decode_audio4; break;
case AVMEDIA_TYPE_VIDEO : decode_handler = avcodec_decode_video2; break;
OpenPOWER on IntegriCloud