[MPlayer-cvslog] r32995 - trunk/fmt-conversion.c

reimar subversion at mplayerhq.hu
Wed Mar 2 08:41:48 CET 2011


Author: reimar
Date: Wed Mar  2 08:41:47 2011
New Revision: 32995

Log:
Fix copy-and-paste error: Should be AV_SAMPLE_FMT_NONE instead of PIX_FMT_NONE.

Modified:
   trunk/fmt-conversion.c

Modified: trunk/fmt-conversion.c
==============================================================================
--- trunk/fmt-conversion.c	Tue Mar  1 22:50:57 2011	(r32994)
+++ trunk/fmt-conversion.c	Wed Mar  2 08:41:47 2011	(r32995)
@@ -146,7 +146,7 @@ enum AVSampleFormat affmt2samplefmt(int 
         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;


More information about the MPlayer-cvslog mailing list