[MPlayer-dev-eng] [bug] another ratecontrol issue
Arpi
arpi at thot.banki.hu
Thu Oct 31 00:24:31 CET 2002
Hi,
> mencoder: ratecontrol.c:635: ff_rate_estimate_qscale: Assertion .>0.0'
michael just fixed it
> 0x0807e399 in config (vf=0x830d298, width=352, height=240, d_width=352,
> d_height=264, flags=0, outfmt=842094169) at vf_scale.c:154
> 154 vf->priv->ctx=getSwsContext(width,height,
> (gdb) p vf
> $1 = (struct vf_instance_s *) 0x830d298
> (gdb) p *vf
> $2 = {info = 0x836e898, config = 0x836e898, control = 0x1df3b8c6,
> query_format = 0x39, get_image = 0x40c6084c <errno+3052>,
> put_image = 0x40c6084c <errno+3052>, draw_slice = 0xf4724260, uninit =
> 0x3fefdb70, default_caps = 2375595106,
> default_reqs = 1067482368, imgctx = {static_images = {0xace3f8d7,
> 0xbf843566}, temp_images = {0x0}, export_images = {0x11},
> static_idx = 137801240}, next = 0x830d040, priv = 0x38}
> (gdb) p *vf->priv
> Cannot access memory at address 0x38
this is straneg - looks like some memory corruption, something overwrites
vf->priv.
> One thing I just found out aditionally: if I leave out the rescaling
> then no segfault happens at all (of course not in vf_scale.c, but
btw, why do you rescale 352x240 to 352x264 ? (just curious)
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