From 6e5f49bdf963ca15c82bbb784e82397b6e6f9da0 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Tue, 2 Feb 2010 21:05:04 +0100 Subject: [PATCH] Use transcode variable to check for transcoding status --- src/httpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/httpd.c b/src/httpd.c index 479ddbda..7e015e1c 100644 --- a/src/httpd.c +++ b/src/httpd.c @@ -527,7 +527,7 @@ httpd_stream_file(struct evhttp_request *req, int id) * that if we are decoding because we can only guesstimate the * size in this case and the error margin is unknown and variable. */ - if (!st->xcode) + if (!transcode) { ret = snprintf(buf, sizeof(buf), "%" PRIi64, (int64_t)st->size); if ((ret < 0) || (ret >= sizeof(buf)))