changeset 32908:c93ae40fb504

Fix copy-and-paste error: Should be AV_SAMPLE_FMT_NONE instead of PIX_FMT_NONE.
author reimar
date Wed, 02 Mar 2011 07:41:47 +0000
parents 44f4ead8fdb0
children 39d7be48ee84
files fmt-conversion.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/fmt-conversion.c	Tue Mar 01 21:50:57 2011 +0000
+++ b/fmt-conversion.c	Wed Mar 02 07:41:47 2011 +0000
@@ -146,7 +146,7 @@
         if (samplefmt_conversion_map[i].fmt == fmt)
             break;
     sample_fmt = samplefmt_conversion_map[i].sample_fmt;
-    if (sample_fmt == PIX_FMT_NONE)
+    if (sample_fmt == AV_SAMPLE_FMT_NONE)
         mp_msg(MSGT_GLOBAL, MSGL_ERR, "Unsupported format %s\n",
                af_fmt2str(fmt, str, sizeof(str)));
     return sample_fmt;