mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
deps/libff: Remove very old version check
This commit is contained in:
parent
6a79657a19
commit
2e7fee8e53
4
deps/libff/libff/ff-util.c
vendored
4
deps/libff/libff/ff-util.c
vendored
|
@ -291,7 +291,6 @@ static inline bool is_output_device(const AVClass *avclass)
|
|||
if (!avclass)
|
||||
return 0;
|
||||
|
||||
#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(52, 66, 101)
|
||||
switch (avclass->category) {
|
||||
case AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT:
|
||||
case AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT:
|
||||
|
@ -300,9 +299,6 @@ static inline bool is_output_device(const AVClass *avclass)
|
|||
default:
|
||||
return false;
|
||||
}
|
||||
#else
|
||||
return (avclass->category == AV_CLASS_CATEGORY_OUTPUT);
|
||||
#endif
|
||||
}
|
||||
|
||||
const struct ff_format_desc *ff_format_supported()
|
||||
|
|
Loading…
Reference in a new issue