add palette data in avi header when the input data is raw gray8 pixel data and
the output data is 8bit uncompressed avi video
Signed-off-by: rui.jiang <229135...@qq.com>
---
libavformat/riffenc.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/libavformat/riffenc.c b/libav
add palette data in avi header when the input data is raw PAL8 or Gray8 pixel
data and the output data is 8bit raw avi video;
Signed-off-by: rui.jiang <229135...@qq.com>
---
libavformat/riffenc.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/libavformat/rif
add palette data in avi header when the input data is raw PAL8 or Gray8 pixel
data and the output data is 8bit raw avi video;
Here is a sample:
the codec params like:
st->codecpar->bits_per_raw_sample=8;
st->codecpar->bits_per_coded_sample=8;
st->codecpar->format = AV_PIX_