From 769e10f0684c63aefb6fe36788f3e543312e185d Mon Sep 17 00:00:00 2001 From: Panagiotis Issaris Date: Thu, 19 Jul 2007 15:21:30 +0000 Subject: Replace all occurrences of AVERROR_NOMEM with AVERROR(ENOMEM). Originally committed as revision 9759 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/amr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/amr.c') diff --git a/libavformat/amr.c b/libavformat/amr.c index 6d70aad490..4d1a40604c 100644 --- a/libavformat/amr.c +++ b/libavformat/amr.c @@ -87,7 +87,7 @@ static int amr_read_header(AVFormatContext *s, st = av_new_stream(s, 0); if (!st) { - return AVERROR_NOMEM; + return AVERROR(ENOMEM); } if(memcmp(header,AMR_header,6)!=0) { -- cgit v1.2.3