Mercurial > libavformat.hg
diff wv.c @ 2273:7eb456c4ed8a libavformat
Replace all occurrences of AVERROR_NOMEM with AVERROR(ENOMEM).
| author | takis |
|---|---|
| date | Thu, 19 Jul 2007 15:21:30 +0000 |
| parents | eb16c64144ee |
| children | b21c2af60bc9 |
line wrap: on
line diff
--- a/wv.c Thu Jul 19 14:48:13 2007 +0000 +++ b/wv.c Thu Jul 19 15:21:30 2007 +0000 @@ -177,7 +177,7 @@ } if(av_new_packet(pkt, wc->blksize + WV_EXTRA_SIZE) < 0) - return AVERROR_NOMEM; + return AVERROR(ENOMEM); memcpy(pkt->data, wc->extra, WV_EXTRA_SIZE); ret = get_buffer(&s->pb, pkt->data + WV_EXTRA_SIZE, wc->blksize); if(ret != wc->blksize){
