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 8aa93e9004)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
(cherry picked from commit 2fb4be9a99)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
This commit is contained in:
Mans Rullgard
2012-05-30 04:06:00 +01:00
committed by Reinhard Tartler
parent b102d5d97d
commit 0054d70f23

View File

@@ -1818,9 +1818,6 @@ static int mov_read_trak(MOVContext *c, AVIOContext *pb, MOVAtom atom)
#if CONFIG_H263_DECODER #if CONFIG_H263_DECODER
case CODEC_ID_H263: case CODEC_ID_H263:
#endif #endif
#if CONFIG_H264_DECODER
case CODEC_ID_H264:
#endif
#if CONFIG_MPEG4_DECODER #if CONFIG_MPEG4_DECODER
case CODEC_ID_MPEG4: case CODEC_ID_MPEG4:
#endif #endif