Skip to content
Snippets Groups Projects
Commit 61bbd0cf authored by Andreas Rheinhardt's avatar Andreas Rheinhardt
Browse files

avdevice/lavfi: Don't require AV_PIX_FMT_NONE == -1


Reviewed-by: default avatarNicolas George <george@nsup.org>
Signed-off-by: default avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent b7e3ae19
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ static int *create_all_formats(int n)
if (!(desc->flags & AV_PIX_FMT_FLAG_HWACCEL))
fmts[j++] = i;
}
fmts[j] = -1;
fmts[j] = AV_PIX_FMT_NONE;
return fmts;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment