1
mirror of https://github.com/mpv-player/mpv synced 2024-10-18 10:25:02 +02:00

uninit sig11 fixed

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5561 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-04-11 11:18:02 +00:00
parent 4f07b7ebc5
commit 05c4efcaea

View File

@ -508,9 +508,10 @@ uninit(void)
{ {
#ifdef USE_LIBFAME #ifdef USE_LIBFAME
if(picture_buf){ // YV12 only: if(picture_buf){ // YV12 only:
fame_close(ctx); ctx=NULL;
free(outbuf); free(outbuf);
free(picture_buf); free(picture_buf);
fame_close(ctx); ctx=NULL; picture_buf=NULL;
} }
#endif #endif
if(vo_mpegpes_fd>=0){ close(vo_mpegpes_fd);vo_mpegpes_fd=-1;} if(vo_mpegpes_fd>=0){ close(vo_mpegpes_fd);vo_mpegpes_fd=-1;}