Skip to content
Snippets Groups Projects
Commit 8f37c8f0 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

opt_pix_fmts: try to fix segfault on open solaris


Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 28338bc2
No related branches found
No related tags found
No related merge requests found
......@@ -775,6 +775,8 @@ int opt_pix_fmts(const char *opt, const char *arg)
for (pix_fmt = 0; pix_fmt < PIX_FMT_NB; pix_fmt++) {
const AVPixFmtDescriptor *pix_desc = &av_pix_fmt_descriptors[pix_fmt];
if(!pix_desc->name)
continue;
printf("%c%c%c%c%c %-16s %d %2d\n",
sws_isSupportedInput (pix_fmt) ? 'I' : '.',
sws_isSupportedOutput(pix_fmt) ? 'O' : '.',
......
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