diff options
Diffstat (limited to 'src/Xv.c')
-rw-r--r-- | src/Xv.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -357,6 +357,10 @@ XvQueryEncodings( } _XRead(dpy, buffer, (long) size); } + else if (rep.num_encodings != 0) { + status = XvBadReply; + goto out; + } /* GET ENCODINGS */ |