From 8e1e6f31c142aeb27d3dd7df539c47b35d7eb903 Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Thu, 23 Jan 2003 23:03:09 +0000 Subject: use av_malloc() functions - added av_strdup and av_realloc() Originally committed as revision 1505 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegaudio.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/mpegaudio.c') diff --git a/libavcodec/mpegaudio.c b/libavcodec/mpegaudio.c index 7d2dd8df19..28329ded4b 100644 --- a/libavcodec/mpegaudio.c +++ b/libavcodec/mpegaudio.c @@ -770,6 +770,7 @@ int MPA_encode_frame(AVCodecContext *avctx, static int MPA_encode_close(AVCodecContext *avctx) { av_freep(&avctx->coded_frame); + return 0; } AVCodec mp2_encoder = { -- cgit v1.2.3