[FFmpeg-cvslog] mov: set AVCodecContext.width/height for h264

Mans Rullgard git at videolan.org
Wed Sep 19 02:32:42 CEST 2012


ffmpeg | branch: release/0.10 | Mans Rullgard <mans at mansr.com> | Wed May 30 04:06:00 2012 +0100| [2fb4be9a99a2c2a9435339830e3d940171cc0d9b] | committer: Reinhard Tartler

mov: set AVCodecContext.width/height for h264

This is required for correct cropping of files from Canon
cameras.

Signed-off-by: Mans Rullgard <mans at mansr.com>
(cherry picked from commit 8aa93e900449c88c3169ff5636fed03f41779cac)

Signed-off-by: Reinhard Tartler <siretart at tauware.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2fb4be9a99a2c2a9435339830e3d940171cc0d9b
---

 libavformat/mov.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index f6be6a8..1dbf63f 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



More information about the ffmpeg-cvslog mailing list