[MPlayer-dev-eng] mencoder - where to free the demuxer

Arpi arpi at thot.banki.hu
Wed Sep 25 22:28:30 CEST 2002


Hi,

> Hi,
> 
> The line
> 
> if (demuxer) free_demuxer(demuxer);
> 
> in mencoder.c should be probably moved after uninit_video. I originally 
> put it here to be able to terminate the capture threads in tvi_v4l 
> correctly but recently uninit_video started to print some mess, 
> expecting sh_video->codec->reg still in place.

uninit_video must have access to sh_video, but free_demuxer free's that.
thx anyway, fixed.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list