Browse Source

opt_pix_fmts: try to fix segfault on open solaris

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer 13 years ago
parent
commit
8f37c8f0f8
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      cmdutils.c

+ 2
- 0
cmdutils.c View File

@@ -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' : '.',


Loading…
Cancel
Save