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
commit5597fd7b64520c7426ef824eb8235bb81243cb24 (patch)
tree41a0ba82c52a05c0911986c4eed104e6573553d4 /src/video_out/video_out_xshm.c
parentdae5ddb5d509c254e77232cd9e0300ec67d039f9 (diff)
downloadxine-lib-5597fd7b64520c7426ef824eb8235bb81243cb24.tar.gz
xine-lib-5597fd7b64520c7426ef824eb8235bb81243cb24.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.
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 79ab41e00..54747e1a9 100644
--- a/src/video_out/video_out_xshm.c
+++ b/src/video_out/video_out_xshm.c
@@ -175,11 +175,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) {
/*