static inline int mjpeg_decode_dc(MJpegDecodeContext *s, int dc_index)

{

    int code;

    code = get_vlc2(&s->gb, s->vlcs[0][dc_index].table, 9, 2);

    if (code < 0) {

        av_log(s->avctx, AV_LOG_WARNING,

               "mjpeg_decode_dc: bad vlc: %d:%d (%p)\n",

               0, dc_index, &s->vlcs[0][dc_index]);

        return 0xffff;

    }



    if (code)

        return get_xbits(&s->gb, code);

    else

        return 0;

}

static inline int mjpeg_decode_dc(MJpegDecodeContext *s, int dc_index)

{

    int code;

    code = get_vlc2(&s->gb, s->vlcs[0][dc_index].table, 9, 2);

    if (code < 0) {

        av_log(s->avctx, AV_LOG_WARNING,

               "mjpeg_decode_dc: bad vlc: %d:%d (%p)\n",

               0, dc_index, &s->vlcs[0][dc_index]);

        return 0xffff;

    }



    if (code)

        return get_xbits(&s->gb, code);

    else

        return 0;

}

    if (code < 0) {
static inline int FUNC_0(MJpegDecodeContext *VAR_0, int VAR_1)

{

    int VAR_2;

    VAR_2 = get_vlc2(&VAR_0->gb, VAR_0->vlcs[0][VAR_1].table, 9, 2);

    if (VAR_2 < 0) {

        av_log(VAR_0->avctx, AV_LOG_WARNING,

               "FUNC_0: bad vlc: %d:%d (%p)\n",

               0, VAR_1, &VAR_0->vlcs[0][VAR_1]);

        return 0xffff;

    }



    if (VAR_2)

        return get_xbits(&VAR_0->gb, VAR_2);

    else

        return 0;

}

static inline int FUNC_0(MJpegDecodeContext *VAR_0, int VAR_1)
{ int VAR_2; VAR_2 = get_vlc2(&VAR_0->gb, VAR_0->vlcs[0][VAR_1].table, 9, 2); if (VAR_2 < 0) { av_log(VAR_0->avctx, AV_LOG_WARNING,
"FUNC_0: bad vlc: %d:%d (%p)\n",
0, VAR_1, &VAR_0->vlcs[0][VAR_1]); return 0xffff; } if (VAR_2)
return get_xbits(&VAR_0->gb, VAR_2); else
return 0; }