summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-05-30 04:06:00 +0100
committerMans Rullgard <mans@mansr.com>2012-06-09 15:08:51 +0100
commit8aa93e900449c88c3169ff5636fed03f41779cac (patch)
treecf15344b156eb91d7c05ad44e4736ae5067f81bb
parentcac4760bf42f1b7ec93860399fbb7b5bff90005f (diff)
mov: set AVCodecContext.width/height for h264
This is required for correct cropping of files from Canon cameras. Signed-off-by: Mans Rullgard <mans@mansr.com>
-rw-r--r--libavformat/mov.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 10ffe8beb5..1395259c5c 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -2054,9 +2054,6 @@ static int mov_read_trak(MOVContext *c, AVIOContext *pb, MOVAtom atom)
#if CONFIG_H263_DECODER
case CODEC_ID_H263:
#endif
-#if CONFIG_H264_DECODER
- case CODEC_ID_H264:
-#endif
#if CONFIG_MPEG4_DECODER
case CODEC_ID_MPEG4:
#endif