Commit 238dcf7f authored by takis's avatar takis

Replace a return of -1 with ENOMEM.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9813 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0e0cee5e
...@@ -1007,7 +1007,7 @@ static int atrac3_decode_init(AVCodecContext *avctx) ...@@ -1007,7 +1007,7 @@ static int atrac3_decode_init(AVCodecContext *avctx)
/* Pad the data buffer with FF_INPUT_BUFFER_PADDING_SIZE, /* Pad the data buffer with FF_INPUT_BUFFER_PADDING_SIZE,
* this is for the bitstream reader. */ * 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) 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. */ /* Initialize the VLC tables. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment