[FFmpeg-cvslog] r13133 - trunk/libavcodec/libfaad.c

cehoyos subversion
Mon May 12 08:51:30 CEST 2008


Author: cehoyos
Date: Mon May 12 08:51:30 2008
New Revision: 13133

Log:
Do not use variable frame_info before its value is set.

Modified:
   trunk/libavcodec/libfaad.c

Modified: trunk/libavcodec/libfaad.c
==============================================================================
--- trunk/libavcodec/libfaad.c	(original)
+++ trunk/libavcodec/libfaad.c	Mon May 12 08:51:30 2008
@@ -180,8 +180,7 @@ static int faac_decode_frame(AVCodecCont
         unsigned char channels;
         int r = s->faacDecInit(s->faac_handle, buf, buf_size, &srate, &channels);
         if(r < 0){
-            av_log(avctx, AV_LOG_ERROR, "faac: codec init failed: %s\n",
-                   s->faacDecGetErrorMessage(frame_info.error));
+            av_log(avctx, AV_LOG_ERROR, "faac: codec init failed.\n");
             return -1;
         }
         avctx->sample_rate = srate;




More information about the ffmpeg-cvslog mailing list