1 From a1232ad05e004dbb2253e78223e886c32ccfb9a1 Mon Sep 17 00:00:00 2001
2 From: Mans Rullgard <mans@mansr.com>
3 Date: Wed, 26 Jan 2011 18:36:29 +0000
4 Subject: [PATCH 2/3] avcodec: fix frame size calculation
8 1 files changed, 2 insertions(+), 2 deletions(-)
10 diff --git a/avcodec.c b/avcodec.c
11 index f2af6ed..d527924 100644
14 @@ -112,8 +112,8 @@ static int lavc_open(const char *name, AVCodecContext *params,
15 x_off = ALIGN(edge_width, 32);
18 - ff->width = ALIGN(params->width, 32) + 2 * x_off;
19 - ff->height = params->height + 2 * y_off;
20 + ff->width = ALIGN(params->width + 2 * x_off, 32);
21 + ff->height = ALIGN(params->height + 2 * y_off, 32);
24 ff->disp_w = params->width;