Author: andoma Date: Thu Feb 28 10:01:17 2008 New Revision: 1937 Log: for mov-files, let decoder init parameters properly, just as when using libfaad Modified: aac/ffmpeg.patch Modified: aac/ffmpeg.patch ============================================================================== --- aac/ffmpeg.patch (original) +++ aac/ffmpeg.patch Thu Feb 28 10:01:17 2008 @@ -1,10 +1,10 @@ Index: libavcodec/Makefile =================================================================== ---- libavcodec/Makefile (revision 11482) +--- libavcodec/Makefile (revision 12224) +++ libavcodec/Makefile (working copy) -@@ -32,6 +32,7 @@ +@@ -31,6 +31,7 @@ - HEADERS = avcodec.h opt.h + OBJS-$(CONFIG_ENCODERS) += faandct.o jfdctfst.o jfdctint.o +OBJS-$(CONFIG_AAC_DECODER) += aac.o mdct.o fft.o OBJS-$(CONFIG_AASC_DECODER) += aasc.o @@ -12,7 +12,7 @@ Index: libavcodec/Makefile OBJS-$(CONFIG_AC3_ENCODER) += ac3enc.o ac3tab.o ac3.o Index: libavcodec/allcodecs.c =================================================================== ---- libavcodec/allcodecs.c (revision 11482) +--- libavcodec/allcodecs.c (revision 12224) +++ libavcodec/allcodecs.c (working copy) @@ -172,6 +172,7 @@ REGISTER_ENCDEC (ZMBV, zmbv); @@ -22,3 +22,16 @@ Index: libavcodec/allcodecs.c REGISTER_DECODER (MPEG4AAC, mpeg4aac); REGISTER_ENCDEC (AC3, ac3); REGISTER_DECODER (ALAC, alac); +Index: libavformat/mov.c +=================================================================== +--- libavformat/mov.c (revision 12224) ++++ libavformat/mov.c (working copy) +@@ -817,7 +817,7 @@ + st->codec->width= 0; /* let decoder init width/height */ + st->codec->height= 0; + break; +-#ifdef CONFIG_LIBFAAD ++#if defined(CONFIG_LIBFAAD) || defined(CONFIG_AAC_DECODER) + case CODEC_ID_AAC: + #endif + #ifdef CONFIG_VORBIS_DECODER
participants (1)
-
andoma