rtpenc_jpeg: Handle case of picture dimensions not dividing by 8
authorAndrey Utkin <andrey.krieger.utkin@gmail.com>
Fri, 10 Apr 2015 21:54:10 +0000 (00:54 +0300)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 19 May 2015 11:12:38 +0000 (12:12 +0100)
commit4415d0f3bbaeb287327ef101ae98d727a69d9af1
tree7eba3c45372f33a975af8b66126034c1a90474fc
parent8ae4d4e117626313e0b7df746e82de84d00d160a
rtpenc_jpeg: Handle case of picture dimensions not dividing by 8

This fixes the calculation of the number of needed blocks to make
sure that ALL pixels are represented by the result.

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