Package: libxine1
Version: 1.0.1-1
Tags: patch
Front-end configuration requirements:
* deinterlacing enabled
* onefield_xv selected
* no deinterlacer post-plugins
Segfault will occur in xv_compute_output_size().
Patch (against CVS HEAD) attached.
(This is reported against 1.0.1-1 since - at the time of writing - versions
in sarge, etch and sid are affected; however, I don't expect the version in
sarge to be fixed.)
--
| Darren Salt | linux or ds at | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Lobby friends, family, business, government. WE'RE KILLING THE PLANET.
You can't go home again, unless you set $HOME.
Index: video_out_xv.c
===================================================================
RCS file: /cvsroot/xine/xine-lib/src/video_out/video_out_xv.c,v
retrieving revision 1.215
retrieving revision 1.216
diff -u -r1.215 -r1.216
--- video_out_xv.c 27 Jan 2006 07:46:15 -0000 1.215
+++ video_out_xv.c 2 May 2006 21:19:32 -0000 1.216
@@ -616,7 +616,7 @@
/* onefield_xv divide by 2 the number of lines */
if (this->deinterlace_enabled
&& (this->deinterlace_method == DEINTERLACE_ONEFIELDXV)
- && (this->cur_frame->format == XINE_IMGFMT_YV12)) {
+ && this->cur_frame && (this->cur_frame->format == XINE_IMGFMT_YV12)) {
this->sc.displayed_height = this->sc.displayed_height / 2 - 1;
this->sc.displayed_yoffset = this->sc.displayed_yoffset / 2;
}