[Live-devel] Report one possible bug about function createJPEGHeader()

Nix Lo nixchun at gmail.com
Mon Jun 17 01:47:37 PDT 2013


Dear Sir:
    About the implementation of function createJPEGHeader() in file
JPEGVideoRTPSource.cpp, the 1st time the formula of determining the value
of variable "tableSize" is:

unsigned tableSize = numQtables == 1 ? qtlen : qtlen/2;

    I think it should be:

unsigned tableSize = numQtables == 1 ? qtlen/2 : qtlen;

    It makes sense that the size of quantization table is 64 bytes long if
there's only one quantization table. Would you please double check if my
point is correct? Thank you very much.

Sincerely,
Nix Lo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130617/974bac16/attachment.html>


More information about the live-devel mailing list