pnmenc: use bits_per_raw_sample
authorChristophe Gisquet <christophe.gisquet@gmail.com>
Wed, 20 Aug 2014 08:10:45 +0000 (08:10 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 24 Aug 2014 09:23:34 +0000 (11:23 +0200)
commit1506ea947d3c527f67a5caa93cc7fa0d064bbf1f
tree02806a1b211bc19c61a2278970e707cb0e6a70a5
parent2f0f937577358a5730a29d7e7662d0f44421a7e4
pnmenc: use bits_per_raw_sample

This allows writing actual bitdepth in RGB48 when it isn't actually 16.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pnmenc.c