rtpdec_jpeg: Simplify writing of the jpeg header
authorMartin Storsjö <martin@martin.st>
Tue, 11 Sep 2012 09:32:37 +0000 (12:32 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 12 Sep 2012 09:08:09 +0000 (12:08 +0300)
commit43957fcc71c08697eea7c684900ac793c87e487c
tree2ea0ea9e0b0561aeb7989caf01eb0d154a5040d6
parent932d8300d38587ebc223e3bacc3c33ed68bf3cf6
rtpdec_jpeg: Simplify writing of the jpeg header

Generalize writing of any number of qtables. Don't manually write
16 bit values in two separate calls.

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