From 2874c81cc80b7f1005073748e8f1877055bf97a7 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 3 Apr 2010 14:15:00 +0000 Subject: Replace all remaining occurrences of AVERROR_NOMEM with AVERROR(ENOMEM). AVERROR_NOMEM is deprecated and will be dropped at the next libavutil major bump. Originally committed as revision 22791 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/msnwc_tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/msnwc_tcp.c') diff --git a/libavformat/msnwc_tcp.c b/libavformat/msnwc_tcp.c index 5b498e925e..e5488718bc 100644 --- a/libavformat/msnwc_tcp.c +++ b/libavformat/msnwc_tcp.c @@ -77,7 +77,7 @@ static int msnwc_tcp_read_header(AVFormatContext *ctx, AVFormatParameters *ap) st = av_new_stream(ctx, 0); if(!st) - return AVERROR_NOMEM; + return AVERROR(ENOMEM); codec = st->codec; codec->codec_type = AVMEDIA_TYPE_VIDEO; -- cgit v1.2.3