static av_cold int smvjpeg_decode_end(AVCodecContext *avctx)

{

    SMVJpegDecodeContext *s = avctx->priv_data;

    MJpegDecodeContext *jpg = &s->jpg;

    int ret;



    jpg->picture_ptr = NULL;

    av_frame_free(&s->picture[0]);

    av_frame_free(&s->picture[1]);

    ret = avcodec_close(s->avctx);

    av_freep(&s->avctx);

    return ret;

}

static av_cold int smvjpeg_decode_end(AVCodecContext *avctx)

{

    SMVJpegDecodeContext *s = avctx->priv_data;

    MJpegDecodeContext *jpg = &s->jpg;

    int ret;



    jpg->picture_ptr = NULL;

    av_frame_free(&s->picture[0]);

    av_frame_free(&s->picture[1]);

    ret = avcodec_close(s->avctx);

    av_freep(&s->avctx);

    return ret;

}

static av_cold int smvjpeg_decode_end(AVCodecContext *avctx)     SMVJpegDecodeContext *s = avctx->priv_data;     MJpegDecodeContext *jpg = &s->jpg;     int ret;     jpg->picture_ptr = NULL;     av_frame_free(&s->picture[0]);     av_frame_free(&s->picture[1]);     ret = avcodec_close(s->avctx);     av_freep(&s->avctx);     return ret;
static av_cold int FUNC_0(AVCodecContext *avctx)

{

    SMVJpegDecodeContext *s = avctx->priv_data;

    MJpegDecodeContext *jpg = &s->jpg;

    int VAR_0;



    jpg->picture_ptr = NULL;

    av_frame_free(&s->picture[0]);

    av_frame_free(&s->picture[1]);

    VAR_0 = avcodec_close(s->avctx);

    av_freep(&s->avctx);

    return VAR_0;

}

static av_cold int FUNC_0(AVCodecContext *avctx)
{ SMVJpegDecodeContext *s = avctx->priv_data; MJpegDecodeContext *jpg = &s->jpg; int VAR_0; jpg->picture_ptr = NULL; av_frame_free(&s->picture[0]); av_frame_free(&s->picture[1]); VAR_0 = avcodec_close(s->avctx); av_freep(&s->avctx); return VAR_0; }