Replace the only occurrence of AVERROR_NOENT with AVERROR(ENOENT).
authorPanagiotis Issaris <takis.issaris@uhasselt.be>
Thu, 19 Jul 2007 15:24:58 +0000 (15:24 +0000)
committerPanagiotis Issaris <takis.issaris@uhasselt.be>
Thu, 19 Jul 2007 15:24:58 +0000 (15:24 +0000)
Originally committed as revision 9761 to svn://svn.ffmpeg.org/ffmpeg/trunk

cmdutils.c

index e5142e6..1c2f44e 100644 (file)
@@ -141,7 +141,7 @@ void print_error(const char *filename, int err)
     case AVERROR(ENOMEM):
         fprintf(stderr, "%s: memory allocation error occured\n", filename);
         break;
-    case AVERROR_NOENT:
+    case AVERROR(ENOENT):
         fprintf(stderr, "%s: no such file or directory\n", filename);
         break;
     default: