On Sun, Aug 24, 2014 at 10:16:37AM +0200, Christophe Gisquet wrote:
> Hi,
>
> 2014-08-20 10:10 GMT+02:00 Christophe Gisquet :
> > This allows writing actual bitdepth in RGB48 when it isn't actually 16.
>
> irrespective of its patchset, I think this patch has merit, if
> bits_per_raw_sample is cor
Hi,
2014-08-20 10:10 GMT+02:00 Christophe Gisquet :
> This allows writing actual bitdepth in RGB48 when it isn't actually 16.
irrespective of its patchset, I think this patch has merit, if
bits_per_raw_sample is correct.
We are currently marking 12 bits as 16 bits, and when e.g. the decoder
read
This allows writing actual bitdepth in RGB48 when it isn't actually 16.
---
libavcodec/pnmenc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/pnmenc.c b/libavcodec/pnmenc.c
index e6c3635..9198ddb 100644
--- a/libavcodec/pnmenc.c
+++ b/libavcodec/pnmenc.c
@@ -84,6 +84,8 @@ static