[FFmpeg-devel] [PATCH] get rid of nonsense palette pointer for RGB8, GRAY8 etc.

Michael Niedermayer michaelni
Fri Mar 20 23:33:11 CET 2009


On Fri, Mar 20, 2009 at 09:43:23PM +0100, Reimar D?ffinger wrote:
> On Fri, Mar 20, 2009 at 09:12:49PM +0100, Michael Niedermayer wrote:
> > about the avpicture_layout patch i dont understand it, avpicture_get_size()
> > should return the correct size
> 
> avpicture_get_size() returns the size needed for the memory buffer, that
> includes a palette even for GRAY8.

hmm avpicture_get_size)( use for malloc needs to include it the
muxer stuff should not, so i guess changing avpicture_get_size() is ok


> And I thought we had agreed that -f rawvideo should not write a palette
> for GRAY8.

we agree on this

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090320/a1851c18/attachment.pgp>



More information about the ffmpeg-devel mailing list