From 24fddf48e7da763610bfb148fb876eb50265847b Mon Sep 17 00:00:00 2001
From: Panagiotis Issaris <takis.issaris@uhasselt.be>
Date: Thu, 19 Jul 2007 15:24:58 +0000
Subject: [PATCH] Replace the only occurrence of AVERROR_NOENT with
 AVERROR(ENOENT).

Originally committed as revision 9761 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 cmdutils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmdutils.c b/cmdutils.c
index e5142e6453a..1c2f44ef3c2 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -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:
-- 
GitLab