diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2003-01-23 23:03:09 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-01-23 23:03:09 +0000 |
commit | 8e1e6f31c142aeb27d3dd7df539c47b35d7eb903 (patch) | |
tree | a1e73532f1654c52016b9ccaf233aa4add95dfd3 /libavcodec/mpegaudio.c | |
parent | 47e2a6e6c521a007f78b23ed554a1b81defef936 (diff) | |
download | ffmpeg-8e1e6f31c142aeb27d3dd7df539c47b35d7eb903.tar.gz |
use av_malloc() functions - added av_strdup and av_realloc()
Originally committed as revision 1505 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudio.c')
-rw-r--r-- | libavcodec/mpegaudio.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 = { |