static int old_codec37(SANMVideoContext *ctx, int top,

                       int left, int width, int height)

{

    int stride = ctx->pitch;

    int i, j, k, t;

    int skip_run = 0;

    int compr, mvoff, seq, flags;

    uint32_t decoded_size;

    uint8_t *dst, *prev;



    compr        = bytestream2_get_byte(&ctx->gb);

    mvoff        = bytestream2_get_byte(&ctx->gb);

    seq          = bytestream2_get_le16(&ctx->gb);

    decoded_size = bytestream2_get_le32(&ctx->gb);

    bytestream2_skip(&ctx->gb, 4);

    flags        = bytestream2_get_byte(&ctx->gb);

    bytestream2_skip(&ctx->gb, 3);



    if (decoded_size > height * stride - left - top * stride) {

        decoded_size = height * stride - left - top * stride;

        av_log(ctx->avctx, AV_LOG_WARNING, "decoded size is too large\n");

    }



    ctx->rotate_code = 0;



    if (((seq & 1) || !(flags & 1)) && (compr && compr != 2))

        rotate_bufs(ctx, 1);



    dst  = ((uint8_t*)ctx->frm0) + left + top * stride;

    prev = ((uint8_t*)ctx->frm2) + left + top * stride;



    if (mvoff > 2) {

        av_log(ctx->avctx, AV_LOG_ERROR, "invalid motion base value %d\n", mvoff);

        return AVERROR_INVALIDDATA;

    }

    av_dlog(ctx->avctx, "compression %d\n", compr);

    switch (compr) {

    case 0:

        for (i = 0; i < height; i++) {

            bytestream2_get_buffer(&ctx->gb, dst, width);

            dst += stride;

        }

        memset(ctx->frm1, 0, ctx->height * stride);

        memset(ctx->frm2, 0, ctx->height * stride);

        break;

    case 2:

        if (rle_decode(ctx, dst, decoded_size))

            return AVERROR_INVALIDDATA;

        memset(ctx->frm1, 0, ctx->frm1_size);

        memset(ctx->frm2, 0, ctx->frm2_size);

        break;

    case 3:

    case 4:

        if (flags & 4) {

            for (j = 0; j < height; j += 4) {

                for (i = 0; i < width; i += 4) {

                    int code;

                    if (skip_run) {

                        skip_run--;

                        copy_block4(dst + i, prev + i, stride, stride, 4);

                        continue;

                    }

                    if (bytestream2_get_bytes_left(&ctx->gb) < 1)

                        return AVERROR_INVALIDDATA;

                    code = bytestream2_get_byteu(&ctx->gb);

                    switch (code) {

                    case 0xFF:

                        if (bytestream2_get_bytes_left(&ctx->gb) < 16)

                            return AVERROR_INVALIDDATA;

                        for (k = 0; k < 4; k++)

                            bytestream2_get_bufferu(&ctx->gb, dst + i + k * stride, 4);

                        break;

                    case 0xFE:

                        if (bytestream2_get_bytes_left(&ctx->gb) < 4)

                            return AVERROR_INVALIDDATA;

                        for (k = 0; k < 4; k++)

                            memset(dst + i + k * stride, bytestream2_get_byteu(&ctx->gb), 4);

                        break;

                    case 0xFD:

                        if (bytestream2_get_bytes_left(&ctx->gb) < 1)

                            return AVERROR_INVALIDDATA;

                        t = bytestream2_get_byteu(&ctx->gb);

                        for (k = 0; k < 4; k++)

                            memset(dst + i + k * stride, t, 4);

                        break;

                    default:

                        if (compr == 4 && !code) {

                            if (bytestream2_get_bytes_left(&ctx->gb) < 1)

                                return AVERROR_INVALIDDATA;

                            skip_run = bytestream2_get_byteu(&ctx->gb) + 1;

                            i -= 4;

                        } else {

                            int mx, my;



                            mx = c37_mv[(mvoff * 255 + code) * 2    ];

                            my = c37_mv[(mvoff * 255 + code) * 2 + 1];

                            codec37_mv(dst + i, prev + i + mx + my * stride,

                                       ctx->height, stride, i + mx, j + my);

                        }

                    }

                }

                dst  += stride * 4;

                prev += stride * 4;

            }

        } else {

            for (j = 0; j < height; j += 4) {

                for (i = 0; i < width; i += 4) {

                    int code;

                    if (skip_run) {

                        skip_run--;

                        copy_block4(dst + i, prev + i, stride, stride, 4);

                        continue;

                    }

                    code = bytestream2_get_byte(&ctx->gb);

                    if (code == 0xFF) {

                        if (bytestream2_get_bytes_left(&ctx->gb) < 16)

                            return AVERROR_INVALIDDATA;

                        for (k = 0; k < 4; k++)

                            bytestream2_get_bufferu(&ctx->gb, dst + i + k * stride, 4);

                    } else if (compr == 4 && !code) {

                        if (bytestream2_get_bytes_left(&ctx->gb) < 1)

                            return AVERROR_INVALIDDATA;

                        skip_run = bytestream2_get_byteu(&ctx->gb) + 1;

                        i -= 4;

                    } else {

                        int mx, my;



                        mx = c37_mv[(mvoff * 255 + code) * 2];

                        my = c37_mv[(mvoff * 255 + code) * 2 + 1];

                        codec37_mv(dst + i, prev + i + mx + my * stride,

                                   ctx->height, stride, i + mx, j + my);

                    }

                }

                dst  += stride * 4;

                prev += stride * 4;

            }

        }

        break;

    default:

        av_log(ctx->avctx, AV_LOG_ERROR,

               "subcodec 37 compression %d not implemented\n", compr);

        return AVERROR_PATCHWELCOME;

    }



    return 0;

}

static int old_codec37(SANMVideoContext *ctx, int top,

                       int left, int width, int height)

{

    int stride = ctx->pitch;

    int i, j, k, t;

    int skip_run = 0;

    int compr, mvoff, seq, flags;

    uint32_t decoded_size;

    uint8_t *dst, *prev;



    compr        = bytestream2_get_byte(&ctx->gb);

    mvoff        = bytestream2_get_byte(&ctx->gb);

    seq          = bytestream2_get_le16(&ctx->gb);

    decoded_size = bytestream2_get_le32(&ctx->gb);

    bytestream2_skip(&ctx->gb, 4);

    flags        = bytestream2_get_byte(&ctx->gb);

    bytestream2_skip(&ctx->gb, 3);



    if (decoded_size > height * stride - left - top * stride) {

        decoded_size = height * stride - left - top * stride;

        av_log(ctx->avctx, AV_LOG_WARNING, "decoded size is too large\n");

    }



    ctx->rotate_code = 0;



    if (((seq & 1) || !(flags & 1)) && (compr && compr != 2))

        rotate_bufs(ctx, 1);



    dst  = ((uint8_t*)ctx->frm0) + left + top * stride;

    prev = ((uint8_t*)ctx->frm2) + left + top * stride;



    if (mvoff > 2) {

        av_log(ctx->avctx, AV_LOG_ERROR, "invalid motion base value %d\n", mvoff);

        return AVERROR_INVALIDDATA;

    }

    av_dlog(ctx->avctx, "compression %d\n", compr);

    switch (compr) {

    case 0:

        for (i = 0; i < height; i++) {

            bytestream2_get_buffer(&ctx->gb, dst, width);

            dst += stride;

        }

        memset(ctx->frm1, 0, ctx->height * stride);

        memset(ctx->frm2, 0, ctx->height * stride);

        break;

    case 2:

        if (rle_decode(ctx, dst, decoded_size))

            return AVERROR_INVALIDDATA;

        memset(ctx->frm1, 0, ctx->frm1_size);

        memset(ctx->frm2, 0, ctx->frm2_size);

        break;

    case 3:

    case 4:

        if (flags & 4) {

            for (j = 0; j < height; j += 4) {

                for (i = 0; i < width; i += 4) {

                    int code;

                    if (skip_run) {

                        skip_run--;

                        copy_block4(dst + i, prev + i, stride, stride, 4);

                        continue;

                    }

                    if (bytestream2_get_bytes_left(&ctx->gb) < 1)

                        return AVERROR_INVALIDDATA;

                    code = bytestream2_get_byteu(&ctx->gb);

                    switch (code) {

                    case 0xFF:

                        if (bytestream2_get_bytes_left(&ctx->gb) < 16)

                            return AVERROR_INVALIDDATA;

                        for (k = 0; k < 4; k++)

                            bytestream2_get_bufferu(&ctx->gb, dst + i + k * stride, 4);

                        break;

                    case 0xFE:

                        if (bytestream2_get_bytes_left(&ctx->gb) < 4)

                            return AVERROR_INVALIDDATA;

                        for (k = 0; k < 4; k++)

                            memset(dst + i + k * stride, bytestream2_get_byteu(&ctx->gb), 4);

                        break;

                    case 0xFD:

                        if (bytestream2_get_bytes_left(&ctx->gb) < 1)

                            return AVERROR_INVALIDDATA;

                        t = bytestream2_get_byteu(&ctx->gb);

                        for (k = 0; k < 4; k++)

                            memset(dst + i + k * stride, t, 4);

                        break;

                    default:

                        if (compr == 4 && !code) {

                            if (bytestream2_get_bytes_left(&ctx->gb) < 1)

                                return AVERROR_INVALIDDATA;

                            skip_run = bytestream2_get_byteu(&ctx->gb) + 1;

                            i -= 4;

                        } else {

                            int mx, my;



                            mx = c37_mv[(mvoff * 255 + code) * 2    ];

                            my = c37_mv[(mvoff * 255 + code) * 2 + 1];

                            codec37_mv(dst + i, prev + i + mx + my * stride,

                                       ctx->height, stride, i + mx, j + my);

                        }

                    }

                }

                dst  += stride * 4;

                prev += stride * 4;

            }

        } else {

            for (j = 0; j < height; j += 4) {

                for (i = 0; i < width; i += 4) {

                    int code;

                    if (skip_run) {

                        skip_run--;

                        copy_block4(dst + i, prev + i, stride, stride, 4);

                        continue;

                    }

                    code = bytestream2_get_byte(&ctx->gb);

                    if (code == 0xFF) {

                        if (bytestream2_get_bytes_left(&ctx->gb) < 16)

                            return AVERROR_INVALIDDATA;

                        for (k = 0; k < 4; k++)

                            bytestream2_get_bufferu(&ctx->gb, dst + i + k * stride, 4);

                    } else if (compr == 4 && !code) {

                        if (bytestream2_get_bytes_left(&ctx->gb) < 1)

                            return AVERROR_INVALIDDATA;

                        skip_run = bytestream2_get_byteu(&ctx->gb) + 1;

                        i -= 4;

                    } else {

                        int mx, my;



                        mx = c37_mv[(mvoff * 255 + code) * 2];

                        my = c37_mv[(mvoff * 255 + code) * 2 + 1];

                        codec37_mv(dst + i, prev + i + mx + my * stride,

                                   ctx->height, stride, i + mx, j + my);

                    }

                }

                dst  += stride * 4;

                prev += stride * 4;

            }

        }

        break;

    default:

        av_log(ctx->avctx, AV_LOG_ERROR,

               "subcodec 37 compression %d not implemented\n", compr);

        return AVERROR_PATCHWELCOME;

    }



    return 0;

}

    if (decoded_size > height * stride - left - top * stride) {         decoded_size = height * stride - left - top * stride;     if (decoded_size > height * stride - left - top * stride) {         decoded_size = height * stride - left - top * stride;
static int FUNC_0(SANMVideoContext *VAR_0, int VAR_1,

                       int VAR_2, int VAR_3, int VAR_4)

{

    int VAR_5 = VAR_0->pitch;

    int VAR_6, VAR_7, VAR_8, VAR_9;

    int VAR_10 = 0;

    int VAR_11, VAR_12, VAR_13, VAR_14;

    uint32_t decoded_size;

    uint8_t *dst, *prev;



    VAR_11        = bytestream2_get_byte(&VAR_0->gb);

    VAR_12        = bytestream2_get_byte(&VAR_0->gb);

    VAR_13          = bytestream2_get_le16(&VAR_0->gb);

    decoded_size = bytestream2_get_le32(&VAR_0->gb);

    bytestream2_skip(&VAR_0->gb, 4);

    VAR_14        = bytestream2_get_byte(&VAR_0->gb);

    bytestream2_skip(&VAR_0->gb, 3);



    if (decoded_size > VAR_4 * VAR_5 - VAR_2 - VAR_1 * VAR_5) {

        decoded_size = VAR_4 * VAR_5 - VAR_2 - VAR_1 * VAR_5;

        av_log(VAR_0->avctx, AV_LOG_WARNING, "decoded size is too large\n");

    }



    VAR_0->rotate_code = 0;



    if (((VAR_13 & 1) || !(VAR_14 & 1)) && (VAR_11 && VAR_11 != 2))

        rotate_bufs(VAR_0, 1);



    dst  = ((uint8_t*)VAR_0->frm0) + VAR_2 + VAR_1 * VAR_5;

    prev = ((uint8_t*)VAR_0->frm2) + VAR_2 + VAR_1 * VAR_5;



    if (VAR_12 > 2) {

        av_log(VAR_0->avctx, AV_LOG_ERROR, "invalid motion base value %d\n", VAR_12);

        return AVERROR_INVALIDDATA;

    }

    av_dlog(VAR_0->avctx, "compression %d\n", VAR_11);

    switch (VAR_11) {

    case 0:

        for (VAR_6 = 0; VAR_6 < VAR_4; VAR_6++) {

            bytestream2_get_buffer(&VAR_0->gb, dst, VAR_3);

            dst += VAR_5;

        }

        memset(VAR_0->frm1, 0, VAR_0->VAR_4 * VAR_5);

        memset(VAR_0->frm2, 0, VAR_0->VAR_4 * VAR_5);

        break;

    case 2:

        if (rle_decode(VAR_0, dst, decoded_size))

            return AVERROR_INVALIDDATA;

        memset(VAR_0->frm1, 0, VAR_0->frm1_size);

        memset(VAR_0->frm2, 0, VAR_0->frm2_size);

        break;

    case 3:

    case 4:

        if (VAR_14 & 4) {

            for (VAR_7 = 0; VAR_7 < VAR_4; VAR_7 += 4) {

                for (VAR_6 = 0; VAR_6 < VAR_3; VAR_6 += 4) {

                    int VAR_18;

                    if (VAR_10) {

                        VAR_10--;

                        copy_block4(dst + VAR_6, prev + VAR_6, VAR_5, VAR_5, 4);

                        continue;

                    }

                    if (bytestream2_get_bytes_left(&VAR_0->gb) < 1)

                        return AVERROR_INVALIDDATA;

                    VAR_18 = bytestream2_get_byteu(&VAR_0->gb);

                    switch (VAR_18) {

                    case 0xFF:

                        if (bytestream2_get_bytes_left(&VAR_0->gb) < 16)

                            return AVERROR_INVALIDDATA;

                        for (VAR_8 = 0; VAR_8 < 4; VAR_8++)

                            bytestream2_get_bufferu(&VAR_0->gb, dst + VAR_6 + VAR_8 * VAR_5, 4);

                        break;

                    case 0xFE:

                        if (bytestream2_get_bytes_left(&VAR_0->gb) < 4)

                            return AVERROR_INVALIDDATA;

                        for (VAR_8 = 0; VAR_8 < 4; VAR_8++)

                            memset(dst + VAR_6 + VAR_8 * VAR_5, bytestream2_get_byteu(&VAR_0->gb), 4);

                        break;

                    case 0xFD:

                        if (bytestream2_get_bytes_left(&VAR_0->gb) < 1)

                            return AVERROR_INVALIDDATA;

                        VAR_9 = bytestream2_get_byteu(&VAR_0->gb);

                        for (VAR_8 = 0; VAR_8 < 4; VAR_8++)

                            memset(dst + VAR_6 + VAR_8 * VAR_5, VAR_9, 4);

                        break;

                    default:

                        if (VAR_11 == 4 && !VAR_18) {

                            if (bytestream2_get_bytes_left(&VAR_0->gb) < 1)

                                return AVERROR_INVALIDDATA;

                            VAR_10 = bytestream2_get_byteu(&VAR_0->gb) + 1;

                            VAR_6 -= 4;

                        } else {

                            int VAR_18, VAR_18;



                            VAR_18 = c37_mv[(VAR_12 * 255 + VAR_18) * 2    ];

                            VAR_18 = c37_mv[(VAR_12 * 255 + VAR_18) * 2 + 1];

                            codec37_mv(dst + VAR_6, prev + VAR_6 + VAR_18 + VAR_18 * VAR_5,

                                       VAR_0->VAR_4, VAR_5, VAR_6 + VAR_18, VAR_7 + VAR_18);

                        }

                    }

                }

                dst  += VAR_5 * 4;

                prev += VAR_5 * 4;

            }

        } else {

            for (VAR_7 = 0; VAR_7 < VAR_4; VAR_7 += 4) {

                for (VAR_6 = 0; VAR_6 < VAR_3; VAR_6 += 4) {

                    int VAR_18;

                    if (VAR_10) {

                        VAR_10--;

                        copy_block4(dst + VAR_6, prev + VAR_6, VAR_5, VAR_5, 4);

                        continue;

                    }

                    VAR_18 = bytestream2_get_byte(&VAR_0->gb);

                    if (VAR_18 == 0xFF) {

                        if (bytestream2_get_bytes_left(&VAR_0->gb) < 16)

                            return AVERROR_INVALIDDATA;

                        for (VAR_8 = 0; VAR_8 < 4; VAR_8++)

                            bytestream2_get_bufferu(&VAR_0->gb, dst + VAR_6 + VAR_8 * VAR_5, 4);

                    } else if (VAR_11 == 4 && !VAR_18) {

                        if (bytestream2_get_bytes_left(&VAR_0->gb) < 1)

                            return AVERROR_INVALIDDATA;

                        VAR_10 = bytestream2_get_byteu(&VAR_0->gb) + 1;

                        VAR_6 -= 4;

                    } else {

                        int VAR_18, VAR_18;



                        VAR_18 = c37_mv[(VAR_12 * 255 + VAR_18) * 2];

                        VAR_18 = c37_mv[(VAR_12 * 255 + VAR_18) * 2 + 1];

                        codec37_mv(dst + VAR_6, prev + VAR_6 + VAR_18 + VAR_18 * VAR_5,

                                   VAR_0->VAR_4, VAR_5, VAR_6 + VAR_18, VAR_7 + VAR_18);

                    }

                }

                dst  += VAR_5 * 4;

                prev += VAR_5 * 4;

            }

        }

        break;

    default:

        av_log(VAR_0->avctx, AV_LOG_ERROR,

               "subcodec 37 compression %d not implemented\n", VAR_11);

        return AVERROR_PATCHWELCOME;

    }



    return 0;

}

static int FUNC_0(SANMVideoContext *VAR_0, int VAR_1,
int VAR_2, int VAR_3, int VAR_4)
{ int VAR_5 = VAR_0->pitch; int VAR_6, VAR_7, VAR_8, VAR_9; int VAR_10 = 0; int VAR_11, VAR_12, VAR_13, VAR_14; uint32_t decoded_size; uint8_t *dst, *prev; VAR_11        = bytestream2_get_byte(&VAR_0->gb); VAR_12        = bytestream2_get_byte(&VAR_0->gb); VAR_13          = bytestream2_get_le16(&VAR_0->gb); decoded_size = bytestream2_get_le32(&VAR_0->gb); bytestream2_skip(&VAR_0->gb, 4); VAR_14        = bytestream2_get_byte(&VAR_0->gb); bytestream2_skip(&VAR_0->gb, 3); if (decoded_size > VAR_4 * VAR_5 - VAR_2 - VAR_1 * VAR_5) { decoded_size = VAR_4 * VAR_5 - VAR_2 - VAR_1 * VAR_5; av_log(VAR_0->avctx, AV_LOG_WARNING, "decoded size is too large\n"); } VAR_0->rotate_code = 0; if (((VAR_13 & 1) || !(VAR_14 & 1)) && (VAR_11 && VAR_11 != 2))
rotate_bufs(VAR_0, 1); dst  = ((uint8_t*)VAR_0->frm0) + VAR_2 + VAR_1 * VAR_5; prev = ((uint8_t*)VAR_0->frm2) + VAR_2 + VAR_1 * VAR_5; if (VAR_12 > 2) { av_log(VAR_0->avctx, AV_LOG_ERROR, "invalid motion base value %d\n", VAR_12); return AVERROR_INVALIDDATA; } av_dlog(VAR_0->avctx, "compression %d\n", VAR_11); switch (VAR_11) { case 0:
for (VAR_6 = 0; VAR_6 < VAR_4; VAR_6++) { bytestream2_get_buffer(&VAR_0->gb, dst, VAR_3); dst += VAR_5; } memset(VAR_0->frm1, 0, VAR_0->VAR_4 * VAR_5); memset(VAR_0->frm2, 0, VAR_0->VAR_4 * VAR_5); break; case 2:
if (rle_decode(VAR_0, dst, decoded_size))
return AVERROR_INVALIDDATA; memset(VAR_0->frm1, 0, VAR_0->frm1_size); memset(VAR_0->frm2, 0, VAR_0->frm2_size); break; case 3:
case 4:
if (VAR_14 & 4) { for (VAR_7 = 0; VAR_7 < VAR_4; VAR_7 += 4) { for (VAR_6 = 0; VAR_6 < VAR_3; VAR_6 += 4) { int VAR_18; if (VAR_10) { VAR_10--; copy_block4(dst + VAR_6, prev + VAR_6, VAR_5, VAR_5, 4); continue; } if (bytestream2_get_bytes_left(&VAR_0->gb) < 1)
return AVERROR_INVALIDDATA; VAR_18 = bytestream2_get_byteu(&VAR_0->gb); switch (VAR_18) { case 0xFF:
if (bytestream2_get_bytes_left(&VAR_0->gb) < 16)
return AVERROR_INVALIDDATA; for (VAR_8 = 0; VAR_8 < 4; VAR_8++) bytestream2_get_bufferu(&VAR_0->gb, dst + VAR_6 + VAR_8 * VAR_5, 4); break; case 0xFE:
if (bytestream2_get_bytes_left(&VAR_0->gb) < 4)
return AVERROR_INVALIDDATA; for (VAR_8 = 0; VAR_8 < 4; VAR_8++) memset(dst + VAR_6 + VAR_8 * VAR_5, bytestream2_get_byteu(&VAR_0->gb), 4); break; case 0xFD:
if (bytestream2_get_bytes_left(&VAR_0->gb) < 1)
return AVERROR_INVALIDDATA; VAR_9 = bytestream2_get_byteu(&VAR_0->gb); for (VAR_8 = 0; VAR_8 < 4; VAR_8++) memset(dst + VAR_6 + VAR_8 * VAR_5, VAR_9, 4); break; default:
if (VAR_11 == 4 && !VAR_18) { if (bytestream2_get_bytes_left(&VAR_0->gb) < 1)
return AVERROR_INVALIDDATA; VAR_10 = bytestream2_get_byteu(&VAR_0->gb) + 1; VAR_6 -= 4; } else { int VAR_18, VAR_18; VAR_18 = c37_mv[(VAR_12 * 255 + VAR_18) * 2    ]; VAR_18 = c37_mv[(VAR_12 * 255 + VAR_18) * 2 + 1]; codec37_mv(dst + VAR_6, prev + VAR_6 + VAR_18 + VAR_18 * VAR_5,
VAR_0->VAR_4, VAR_5, VAR_6 + VAR_18, VAR_7 + VAR_18); } } } dst  += VAR_5 * 4; prev += VAR_5 * 4; } } else { for (VAR_7 = 0; VAR_7 < VAR_4; VAR_7 += 4) { for (VAR_6 = 0; VAR_6 < VAR_3; VAR_6 += 4) { int VAR_18; if (VAR_10) { VAR_10--; copy_block4(dst + VAR_6, prev + VAR_6, VAR_5, VAR_5, 4); continue; } VAR_18 = bytestream2_get_byte(&VAR_0->gb); if (VAR_18 == 0xFF) { if (bytestream2_get_bytes_left(&VAR_0->gb) < 16)
return AVERROR_INVALIDDATA; for (VAR_8 = 0; VAR_8 < 4; VAR_8++) bytestream2_get_bufferu(&VAR_0->gb, dst + VAR_6 + VAR_8 * VAR_5, 4); } else if (VAR_11 == 4 && !VAR_18) { if (bytestream2_get_bytes_left(&VAR_0->gb) < 1)
return AVERROR_INVALIDDATA; VAR_10 = bytestream2_get_byteu(&VAR_0->gb) + 1; VAR_6 -= 4; } else { int VAR_18, VAR_18; VAR_18 = c37_mv[(VAR_12 * 255 + VAR_18) * 2]; VAR_18 = c37_mv[(VAR_12 * 255 + VAR_18) * 2 + 1]; codec37_mv(dst + VAR_6, prev + VAR_6 + VAR_18 + VAR_18 * VAR_5,
VAR_0->VAR_4, VAR_5, VAR_6 + VAR_18, VAR_7 + VAR_18); } } dst  += VAR_5 * 4; prev += VAR_5 * 4; } } break; default:
av_log(VAR_0->avctx, AV_LOG_ERROR,
"subcodec 37 compression %d not implemented\n", VAR_11); return AVERROR_PATCHWELCOME; } return 0; }