On 02/29/2016 07:39 AM, Mats Peterson wrote:
_______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Once again, this patch set is needed for stream copy of raw palettized data, since the packets will have the palette in side data packets, and not appended to the video data in the packets themselves.
As long as the extra size due to the stride of the original packet is not mistaken for a palette (that will only happen when the extra size is exactly 1024 bytes), ff_reshuffle_raw_rgb() will align the stride properly even on stream copy. Thus, the video data won't be a perfectly "identical" copy, but that would be rather useless anyway due to the different stride alignment requirements of AVI and QuickTime.
Mats -- Mats Peterson http://matsp888.no-ip.org/~mats/ _______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
