diff --git a/codec/mjpeg/jpeg.go b/codec/mjpeg/jpeg.go index 7ad82398..cfe0c17a 100644 --- a/codec/mjpeg/jpeg.go +++ b/codec/mjpeg/jpeg.go @@ -342,7 +342,6 @@ func writeHeader(p []byte, _type, width, height, nbqTab int, dri uint16, qtable for i := 0; i < nbqTab; i++ { p[idx] = byte(i) idx++ - idx += copy(p[idx:], qtable[64*i:(64*i)+64]) }