early-access version 1680
This commit is contained in:
6
externals/ffmpeg/libavcodec/smvjpegdec.c
vendored
6
externals/ffmpeg/libavcodec/smvjpegdec.c
vendored
@@ -79,14 +79,12 @@ 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;
|
||||
avcodec_free_context(&s->avctx);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static av_cold int smvjpeg_decode_init(AVCodecContext *avctx)
|
||||
|
Reference in New Issue
Block a user