This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
vf_hwmap: Add missing error code
Fixes CID 1412854. (cherry picked from commit 5635c80bf59d90e63ede473e2c014647850a8446)
tags/n3.4
Mark Thompson
8 years ago
parent
a23a56e77c
commit
d984b29b21
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavfilter/vf_hwmap.c
+ 1
- 0
libavfilter/vf_hwmap.c
View File
@@ -77,6 +77,7 @@ static int hwmap_config_output(AVFilterLink *outlink)
type = av_hwdevice_find_type_by_name(ctx->derive_device_type);
if (type == AV_HWDEVICE_TYPE_NONE) {
av_log(avctx, AV_LOG_ERROR, "Invalid device type.\n");
err = AVERROR(EINVAL);
goto fail;
}
Write
Preview
Loading…
Cancel
Save