From 8436c9527c8fb332d2134c05d4e7646754481fd5 Mon Sep 17 00:00:00 2001 From: Alexander Strange Date: Sun, 22 Nov 2009 04:07:00 -0500 Subject: [PATCH 1/6] Disable some parts of h264.c Perian never uses. TODO: we can enable MBAFF, but I still see no way to support PAFF in QuickTime, and I'm not even sure how it is supposed to work in .mp4. --- libavcodec/h264.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 5280e51..99e1d6f 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -48,7 +48,10 @@ /* Compiling in interlaced support reduces the speed * of progressive decoding by about 2%. */ -#define ALLOW_INTERLACE +//#define ALLOW_INTERLACE + +#undef CODEC_FLAG2_CHUNKS +#define CODEC_FLAG2_CHUNKS 0 #define FMO 0 -- 1.7.8