[FFmpeg-cvslog] r25066 - trunk/libavcodec/imgconvert.c

Måns Rullgård mans
Fri Sep 10 19:32:35 CEST 2010


Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:

> On Fri, Sep 10, 2010 at 05:28:27PM +0100, M?ns Rullg?rd wrote:
>> Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:
>> 
>> > On Fri, Sep 10, 2010 at 04:36:19PM +0100, M?ns Rullg?rd wrote:
>> >> Why the FUCK do all 8-bit pixel formats claim they have a palette?
>> >
>> > Because anyone actually using (e.g. for displaying) the data
>> > then doesn't need to add a special case for every single of them.
>> 
>> But there is no palette.  How does pretending there is one when it
>> isn't even allocated (hence the valgrind error) simplify anything?
>
> It's a bug if there is none, I know for sure that at least almost
> all 8-bit formats did indeed have a palette in data[1] some time
> ago.

And just what is in that palette?

In the case at hand, there is obviously _something_ there, but there's
not enough of it.  Since you seem to think this makes sense, I invite
you to fix the bug.  I'm not touching it further.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-cvslog mailing list