summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_xshm.c
diff options
context:
space:
mode:
authorReinhard Nißl <rnissl@gmx.de>2007-10-08 00:07:30 +0200
committerReinhard Nißl <rnissl@gmx.de>2007-10-08 00:07:30 +0200
commitf43e6be30fcd0879cb5d1d43e73254950ef6a68c (patch)
tree60ca7f16062e1a3375bdae3c838f2b6a0a4b8d68 /src/video_out/video_out_xshm.c
parenta36843adb6fd20a26b2081562d7c7f2addcc5131 (diff)
downloadxine-lib-f43e6be30fcd0879cb5d1d43e73254950ef6a68c.tar.gz
xine-lib-f43e6be30fcd0879cb5d1d43e73254950ef6a68c.tar.bz2
Revert cheating invalid frame sizes after fixed frame allocation (continued).
These cheats where hiding a frame allocation bug in FFmpeg decoder which was previously fixed. (transplanted from c7cc5ff1e184791683ba13bdc54c53b5887e6587) --HG-- extra : transplant_source : %C7%CC_%F1%E1%84y%16%83%BA%13%BD%C5LS%B5%88%7Ee%87
Diffstat (limited to 'src/video_out/video_out_xshm.c')
-rw-r--r--src/video_out/video_out_xshm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/video_out/video_out_xshm.c b/src/video_out/video_out_xshm.c
index 932f22e3a..9e901821a 100644
--- a/src/video_out/video_out_xshm.c
+++ b/src/video_out/video_out_xshm.c
@@ -172,11 +172,6 @@ static XImage *create_ximage (xshm_driver_t *this, XShmSegmentInfo *shminfo,
int width, int height) {
XImage *myimage = NULL;
- if (width <= 0)
- width = 1;
- if (height <= 0)
- height = 1;
-
if (this->use_shm) {
/*