aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs
diff options
context:
space:
mode:
authorGravatar faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-25 16:29:21 +0000
committerGravatar faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-08-25 16:29:21 +0000
commit28ced008bc82a02a4f32404e5d26faeaff02f20d (patch)
treee349c5f12318f8059de374f61c613c94569ce326 /libmpcodecs
parent4b90605bee862ca360573a7e2feec90dc24dd422 (diff)
prevent libmpeg2 from freeing sh
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13140 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/vd_libmpeg2.c1
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);
}