[FFmpeg-devel] [PATCH] HAM6/HAM8 support for IFF demuxer/decoder

Ronald S. Bultje rsbultje
Thu May 6 21:02:40 CEST 2010


Hi,

On Thu, May 6, 2010 at 2:53 PM, Sebastian Vater
<cdgs.basty at googlemail.com> wrote:
> Mike Scheutzow a ?crit :
>> The FFmpeg demuxer might be used without the FFmpeg decoder, or the
>> FFmpeg decoder might be used without the FFmpeg demuxer. You don't
>> want to cause a segfault if a user chooses to use the libraries this way.
>
> Well, then it's probably the best way to duplicate the
> ff_cmap_read_palette function, so it's also available in the demuxer
> directly, what do you think?

Sharing the code is OK. But the decoder shouldn't add stuff to the
function that the demuxer doesn't need, create a new function instead.

Ronald



More information about the ffmpeg-devel mailing list