diff msnwc_tcp.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 11bb10c37225
children
line wrap: on
line diff
--- a/msnwc_tcp.c	Sat Apr 03 12:16:33 2010 +0000
+++ b/msnwc_tcp.c	Sat Apr 03 14:15:00 2010 +0000
@@ -77,7 +77,7 @@
 
     st = av_new_stream(ctx, 0);
     if(!st)
-        return AVERROR_NOMEM;
+        return AVERROR(ENOMEM);
 
     codec = st->codec;
     codec->codec_type = AVMEDIA_TYPE_VIDEO;