# HG changeset patch # User takis # Date 1185553914 0 # Node ID 91906ea3337f51260130da76c3554825b0b45123 # Parent 9d95fa2bd1503ec45b4fb985f16159fae88a24ff Replace a return of -1 with ENOMEM. diff -r 9d95fa2bd150 -r 91906ea3337f atrac3.c --- a/atrac3.c Fri Jul 27 11:37:56 2007 +0000 +++ b/atrac3.c Fri Jul 27 16:31:54 2007 +0000 @@ -1007,7 +1007,7 @@ /* Pad the data buffer with FF_INPUT_BUFFER_PADDING_SIZE, * this is for the bitstream reader. */ if ((q->decoded_bytes_buffer = av_mallocz((avctx->block_align+(4-avctx->block_align%4) + FF_INPUT_BUFFER_PADDING_SIZE))) == NULL) - return -1; + return AVERROR(ENOMEM); /* Initialize the VLC tables. */