diff options
Diffstat (limited to 'src/stream.c')
| -rw-r--r-- | src/stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stream.c b/src/stream.c index 11dabd5..46fed64 100644 --- a/src/stream.c +++ b/src/stream.c @@ -128,7 +128,7 @@ set_pixel_format(struct stream *stream, const char *pixfmt) void enset_pixel_format(int status, struct stream *stream, const char *pixfmt) { - if (!set_pixel_format(stream, pixfmt)) { + if (set_pixel_format(stream, pixfmt)) { if (pixfmt) enprintf(status, "pixel format %s is not supported, try xyza\n", pixfmt); else |
