On 2012-06-14 16:36:44 +0200, Christophe Gisquet wrote:
Hi,
2012/6/14 Mans Rullgard m...@mansr.com:
static void guess_mv(MpegEncContext *s)
{
- uint8_t fixed[s-mb_stride * s-mb_height];
+ uint8_t *fixed = s-fixed;
What about setting s-fixed to NULL when initializing, and
Janne Grunau janne-li...@jannau.net writes:
On 2012-06-14 16:36:44 +0200, Christophe Gisquet wrote:
Hi,
2012/6/14 Mans Rullgard m...@mansr.com:
static void guess_mv(MpegEncContext *s)
{
- uint8_t fixed[s-mb_stride * s-mb_height];
+ uint8_t *fixed = s-fixed;
What about
Hi,
2012/6/14 Mans Rullgard m...@mansr.com:
static void guess_mv(MpegEncContext *s)
{
- uint8_t fixed[s-mb_stride * s-mb_height];
+ uint8_t *fixed = s-fixed;
What about setting s-fixed to NULL when initializing, and only
setting s-fixed to something here, like (just an example):