Revision 2874c81c libavformat/wc3movie.c

View differences:

libavformat/wc3movie.c
186 186
            /* load up the name */
187 187
            buffer = av_malloc(size+1);
188 188
            if (!buffer)
189
                return AVERROR_NOMEM;
189
                return AVERROR(ENOMEM);
190 190
            if ((ret = get_buffer(pb, buffer, size)) != size)
191 191
                return AVERROR(EIO);
192 192
            buffer[size] = 0;

Also available in: Unified diff