Mercurial > mplayer.hg
changeset 13139:653df8deffc7
prevent libmpeg2 from freeing sh
author | faust3 |
---|---|
date | Wed, 25 Aug 2004 16:29:21 +0000 |
parents | 2f0e4a977012 |
children | 80cfe9d38d46 |
files | libmpcodecs/vd_libmpeg2.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_libmpeg2.c Wed Aug 25 16:16:09 2004 +0000 +++ b/libmpcodecs/vd_libmpeg2.c Wed Aug 25 16:29:21 2004 +0000 @@ -74,6 +74,7 @@ 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); }