rtpdec_jpeg: Write the DHT section properly
authorMartin Storsjö <martin@martin.st>
Tue, 11 Sep 2012 08:03:05 +0000 (11:03 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 12 Sep 2012 09:07:29 +0000 (12:07 +0300)
commit7ef4323405fae8f62732111b747d585ef9c786c7
tree9dcc19fe957083936a188c4b4f5b57e89852668d
parent76fa7e09f18d5efa6b9c8ec5ef8d032a85e15865
rtpdec_jpeg: Write the DHT section properly

Currently the size header of the generated DHT section is
incorrect, making the mjpeg decoder just skip it. Since the
written huffman tables are the default ones, this failure had
gone undetected.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtpdec_jpeg.c