[FFmpeg-devel] Merging AV_CODEC_ID_IFF_ILBM and AV_CODEC_ID_IFF_BYTERUN1

Paul B Mahol onemda at gmail.com
Wed Nov 21 13:02:09 CET 2012


On 11/21/12, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Paul B Mahol <onemda <at> gmail.com> writes:
>
>> > How could the decoders be merged without breaking API compatibility.
>> > There is at least one more compression type that I would like to add to
>> > the IFF bitmap. Adding yet another AV_CODEC_ID for this would seem
>> > silly.
>>
>> And would make supporting ANIMs that may change (from one compression type
>> to
>> another impossible - like ilbm <-> byterun1 but I yet have to find such
>> sample).
>>
>> Proposed solution: add new codec id and use it in our lavf, others keep
>> just
>> for compatibility sake.
>
> Alternatively, you could add all needed features to
> one of the existing decoders and drop the second one
> at the next version bump.

You cant drop libav ids (until libav does it too), at least that is
current policy.

So codec ids would stay but decoders structs would not. Using libav lavc and
ffmpeg lavf (or other way around) /is not/should not be/ allowed.


More information about the ffmpeg-devel mailing list