[FFmpeg-devel] [RFC] avcodec/avcodec.h: Add encryption info side data

Ronald S. Bultje rsbultje at gmail.com
Tue Dec 19 01:29:14 EET 2017


On Mon, Dec 18, 2017 at 6:00 PM, Michael Niedermayer <michael at niedermayer.cc
> wrote:

> If you decode this again you need the side data in the format of the
> platform
> the decoder runs on. This is very very basic logic. Something must convert
> it

Right, this concept is typically called a "serializer" and "deserializer".
Adding them to the API is a good idea. But I don't understand why we'd want
to store side-data as binary (platform-independent) data, that would ruin
it accessibility from applications. Applications don't want to call hton or
ntoh on each structure member they access, right?


More information about the ffmpeg-devel mailing list