OSDN Git Service

rtpenc_aac: Fix calculation of the header size
authorLuca Abeni <lucabe72@email.it>
Thu, 8 Nov 2012 00:38:50 +0000 (01:38 +0100)
committerMartin Storsjö <martin@martin.st>
Thu, 8 Nov 2012 17:48:32 +0000 (19:48 +0200)
commite004d175fe2463af8242e390b15350f4745be7b4
tree668b3f65e4bde44c4ae28891b0e030add3253bfc
parent6ca60d4ddd9b34b98b8570d440d79736d060f02a
rtpenc_aac: Fix calculation of the header size

Previously the high end byte was always set to zero. Also get
rid of an unnecessary multiplication (which in practice couldn't
overflow) before shifting.

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