diff options
-rw-r--r-- | libmpcodecs/vd_libmpeg2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpcodecs/vd_libmpeg2.c b/libmpcodecs/vd_libmpeg2.c index 3722a0577f..26ee36c387 100644 --- a/libmpcodecs/vd_libmpeg2.c +++ b/libmpcodecs/vd_libmpeg2.c @@ -74,6 +74,7 @@ static int init(sh_video_t *sh){ static void uninit(sh_video_t *sh){ mpeg2dec_t * mpeg2dec = sh->context; if (mpeg2dec->pending_buffer) free(mpeg2dec->pending_buffer); + mpeg2dec->decoder.convert_id=NULL; mpeg2_close (mpeg2dec); } |