diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-04-03 14:15:00 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-04-03 14:15:00 +0000 |
commit | 2874c81cc80b7f1005073748e8f1877055bf97a7 (patch) | |
tree | 4b7f74a856abd49bb61e10caab57c0ffc46667a9 /libavformat/wc3movie.c | |
parent | 0e642188896c564869bd6446a70e6969b229947d (diff) | |
download | ffmpeg-2874c81cc80b7f1005073748e8f1877055bf97a7.tar.gz |
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
Diffstat (limited to 'libavformat/wc3movie.c')
-rw-r--r-- | libavformat/wc3movie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wc3movie.c b/libavformat/wc3movie.c index 4138873573..a91df1b036 100644 --- a/libavformat/wc3movie.c +++ b/libavformat/wc3movie.c @@ -186,7 +186,7 @@ static int wc3_read_header(AVFormatContext *s, /* load up the name */ buffer = av_malloc(size+1); if (!buffer) - return AVERROR_NOMEM; + return AVERROR(ENOMEM); if ((ret = get_buffer(pb, buffer, size)) != size) return AVERROR(EIO); buffer[size] = 0; |