Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavfilter/formats.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/formats.c b/libavfilter/formats.c
index 8758b3d113..a28be60a65 100644
--- a/libavfilter/formats.c
+++ b/libavfilter/formats.c
@@ -340,8 +340,7 @@ AVFilterFormats *ff_all_formats(enum AVMediaType type)
if (type == AVMEDIA_TYPE_VIDEO) {
const AVPixFmtDescriptor *desc = NULL;
while ((desc = av_pix_fmt_desc_next(desc))) {
- if (!(desc->flags & AV_PIX_FMT_FLAG_HWACCEL))
- ff_add_format(&ret, av_pix_fmt_desc_get_id(desc));
+ ff_add_format(&ret, av_pix_fmt_desc_get_id(desc));
}
} else if (type == AVMEDIA_TYPE_AUDIO) {
enum AVSampleFormat fmt = 0;