libavcodec/xsubenc.c: set coded_bits_per_sample
authorErik Olofsson <eaj.olofsson@gmail.com>
Thu, 7 Nov 2013 20:07:11 +0000 (21:07 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 12 Nov 2013 02:15:33 +0000 (03:15 +0100)
commitda9d36055ab1b485d0fd14c9e707ee1705322247
treec25467aeedc2fc3b1f5d580b8426837ab65ae5e8
parent3b1dcdec7d85f25b39fc90aed026419d394b78a5
libavcodec/xsubenc.c: set coded_bits_per_sample

Explicitly set the number of bits per sample to stop
the avi muxer from guessing at 24 bits.
The result is that bits per pixel in the avi stream header
matches what other XSUB muxers produce, such as AVIAddXSubs.exe

Signed-off-by: Erik Olofsson <eaj.olofsson@gmail.com>
Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/xsubenc.c