help2man: fix drag in of target perl for the native package
[openembedded.git] / recipes / ffmpeg / files / 0002-avcodec-fix-frame-size-calculation.patch
blobd8c0d098231a54a7202bbf9713461ac7a8ee44a0
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
6 ---
7 avcodec.c | 4 ++--
8 1 files changed, 2 insertions(+), 2 deletions(-)
10 diff --git a/avcodec.c b/avcodec.c
11 index f2af6ed..d527924 100644
12 --- a/avcodec.c
13 +++ b/avcodec.c
14 @@ -112,8 +112,8 @@ static int lavc_open(const char *name, AVCodecContext *params,
15 x_off = ALIGN(edge_width, 32);
16 y_off = edge_width;
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);
22 ff->disp_x = x_off;
23 ff->disp_y = y_off;
24 ff->disp_w = params->width;
25 --
26 1.6.6.1