imgutils: introduce internal image_get_linesize() and use it
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sun, 15 May 2011 10:47:06 +0000 (12:47 +0200)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 16 May 2011 21:55:54 +0000 (23:55 +0200)
commitc0170d09738c74280af78c6f64914c52a9b6e075
tree30784543c7ef2f8a9f5a1d68bf18180f5221ec29
parent0d73227c712eca2247e06d7a3c2daeb6f6f2a128
imgutils: introduce internal image_get_linesize() and use it

Allow to factorize code between av_image_get_linesize() and
av_image_fill_linesizes(), and add missing checks.

Increase robustness.
libavutil/imgutils.c