aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-05-30 04:06:00 +0100
committerReinhard Tartler <siretart@tauware.de>2012-06-10 11:22:57 +0200
commit2fb4be9a99a2c2a9435339830e3d940171cc0d9b (patch)
tree979fc59d1bb52108ffffaee246584352ff398244 /libavformat/mov.c
parente1608014c50eeb9f4744a53de0794eb6bb1269a2 (diff)
downloadffmpeg-2fb4be9a99a2c2a9435339830e3d940171cc0d9b.tar.gz
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> (cherry picked from commit 8aa93e900449c88c3169ff5636fed03f41779cac) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index f6be6a88bc..1dbf63f91f 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1995,9 +1995,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