[FFmpeg-cvslog] r9813 - trunk/libavcodec/atrac3.c

takis subversion
Fri Jul 27 18:31:54 CEST 2007


Author: takis
Date: Fri Jul 27 18:31:54 2007
New Revision: 9813

Log:
Replace a return of -1 with ENOMEM.


Modified:
   trunk/libavcodec/atrac3.c

Modified: trunk/libavcodec/atrac3.c
==============================================================================
--- trunk/libavcodec/atrac3.c	(original)
+++ trunk/libavcodec/atrac3.c	Fri Jul 27 18:31:54 2007
@@ -1007,7 +1007,7 @@ static int atrac3_decode_init(AVCodecCon
     /* 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. */




More information about the ffmpeg-cvslog mailing list