[FFmpeg-devel] [PATCH]Fix stream-copy for grayscale mov files

Michael Niedermayer michaelni at gmx.at
Tue Dec 24 22:22:09 CET 2013

On Thu, Dec 12, 2013 at 01:52:20PM +0100, Carl Eugen Hoyos wrote:
> Hi!
> Attached patches fix ticket #3215 for me. This reverts r12272 for which I 
> cannot find the file 256grey.mov. I tried to fix all possible affected 
> decoders.
> While testing, it appeared to me that inserting a palette into grayscale 
> cinepak was always a bad idea: It needed special-handling although the 
> decoder does not need the palette. Without this patch, the revert of r12272 
> breaks fate/cvid/pcitva15.avi if I change:
> if (avctx->bits_per_coded_sample != 8)
> into
> if ((avctx->bits_per_coded_sample &0x1f) != 8)
> Please review, Carl Eugen

patches applied



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131224/f3b64ff5/attachment.asc>

More information about the ffmpeg-devel mailing list