summaryrefslogtreecommitdiffstats
path: root/libvo/vo_mpegpes.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_mpegpes.c')
-rw-r--r--libvo/vo_mpegpes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/vo_mpegpes.c b/libvo/vo_mpegpes.c
index adca4d101d..e64a9b270b 100644
--- a/libvo/vo_mpegpes.c
+++ b/libvo/vo_mpegpes.c
@@ -508,9 +508,10 @@ uninit(void)
{
#ifdef USE_LIBFAME
if(picture_buf){ // YV12 only:
+ fame_close(ctx); ctx=NULL;
free(outbuf);
free(picture_buf);
- fame_close(ctx); ctx=NULL;
+ picture_buf=NULL;
}
#endif
if(vo_mpegpes_fd>=0){ close(vo_mpegpes_fd);vo_mpegpes_fd=-1;}