summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xresponsememblk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/responsememblk.c b/responsememblk.c
index ba36aa5..22c3b40 100755
--- a/responsememblk.c
+++ b/responsememblk.c
@@ -489,7 +489,7 @@ int cResponseMemBlk::sendMp4Covr() {
*mResponseMessage = string(meta.mCovr, meta.mCovrSize) ;
// read bytestream
- sendHeaders(200, "OK", NULL, "image/png", mResponseMessage->size(), -1);
+ sendHeaders(200, "OK", NULL, (meta.mCovrType == 14) ? "image/png" : "image/jpg" , mResponseMessage->size(), -1);
#endif
return OKAY;