Mercurial > libavformat.hg
diff rtpdec_h263.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 | 491eea5c52d6 |
line wrap: on
line diff
--- a/rtpdec_h263.c Sat Apr 03 12:16:33 2010 +0000 +++ b/rtpdec_h263.c Sat Apr 03 14:15:00 2010 +0000 @@ -78,7 +78,7 @@ if (av_new_packet(pkt, len + startcode)) { av_log(ctx, AV_LOG_ERROR, "Out of memory\n"); - return AVERROR_NOMEM; + return AVERROR(ENOMEM); } pkt->stream_index = st->index; ptr = pkt->data;