From 49ba646d579a89d5ff0e4f3d5eea237eea22aafd Mon Sep 17 00:00:00 2001 From: Mohamed Tarek Date: Tue, 12 May 2009 20:50:35 +0000 Subject: -Remove all dynamic allocations, hence remove cook_decode_close() which was basically needed for freeing allocated memory. -Remove any ffmpeg-specific attributes (av_const,av_always_inline .. etc.). -Move some math functions to cook_fixpoint.h - libavutil/common.h is no longer needed. -Remove libavutil/mem.[c/h], libavutil/common.h and libavutil/internal.h. -Fix a warning in cookdata_fixpoint.h. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20922 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libcook/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/codecs/libcook/main.c') diff --git a/apps/codecs/libcook/main.c b/apps/codecs/libcook/main.c index 8b180b249d..3c671e0c3f 100644 --- a/apps/codecs/libcook/main.c +++ b/apps/codecs/libcook/main.c @@ -23,6 +23,7 @@ #include #include #include +#include #include "rm2wav.h" #include "cook.h" @@ -111,8 +112,7 @@ int main(int argc, char *argv[]) } packet_count -= rmctx.audio_pkt_cnt; rmctx.audio_pkt_cnt = 0; - } - cook_decode_close(&q); + } close_wav(fd_dec,&rmctx); close(fd); -- cgit v1.2.3