diff cafdec.c @ 5930:08cd1179a20d libavformat

Replace all remaining occurrences of AVERROR_NOMEM with AVERROR(ENOMEM). AVERROR_NOMEM is deprecated and will be dropped at the next libavutil major bump.
author stefano
date Sat, 03 Apr 2010 14:15:00 +0000
parents 536e5527c1e0
children 178de7695c6c
line wrap: on
line diff
--- a/cafdec.c	Sat Apr 03 12:16:33 2010 +0000
+++ b/cafdec.c	Sat Apr 03 14:15:00 2010 +0000
@@ -61,7 +61,7 @@
     /* new audio stream */
     st = av_new_stream(s, 0);
     if (!st)
-        return AVERROR_NOMEM;
+        return AVERROR(ENOMEM);
 
     /* parse format description */
     st->codec->codec_type  = AVMEDIA_TYPE_AUDIO;