diff mpegaudio.c @ 1031:19de1445beb2 libavcodec

use av_malloc() functions - added av_strdup and av_realloc()
author bellard
date Thu, 23 Jan 2003 23:03:09 +0000
parents 7fccaa0d699d
children bb5de8a59da8
line wrap: on
line diff
--- a/mpegaudio.c	Thu Jan 23 22:59:06 2003 +0000
+++ b/mpegaudio.c	Thu Jan 23 23:03:09 2003 +0000
@@ -770,6 +770,7 @@
 static int MPA_encode_close(AVCodecContext *avctx)
 {
     av_freep(&avctx->coded_frame);
+    return 0;
 }
 
 AVCodec mp2_encoder = {