[libav-bugs] [Bug 383] AVCodecContext width and height incorrect with odd valued dimensions and H.264 Quicktime movie

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Sun Jan 13 04:36:08 CET 2013


lu_zero at gentoo.org <lu_zero at gentoo.org> changed:

           What    |Removed                     |Added
                 CC|                            |lu_zero at gentoo.org

--- Comment #1 from lu_zero at gentoo.org <lu_zero at gentoo.org> 2013-01-13 04:36:08 CET ---
According to gdb the correct value reported by the container gets overridden

s->width and height are rounded up.

2504    static int h264_slice_header_init(H264Context *h, int reinit)
2505    {
2506        MpegEncContext *const s  = &h->s;
2507        int i, ret;
2509        avcodec_set_dimensions(s->avctx, s->width, s->height);
2510        s->avctx->sample_aspect_ratio = h->sps.sar;

Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the libav-bugs mailing list