[FFmpeg-devel] [PATCH 3/3] avformat/mov: Expose encryption info to the app.

Jacob Trimble modmaker at google.com
Tue Jan 9 01:22:33 EET 2018


On Fri, Jan 5, 2018 at 12:55 PM, Jacob Trimble <modmaker at google.com> wrote:
> On Fri, Jan 5, 2018 at 12:43 PM, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>> 2018-01-05 20:49 GMT+01:00 Jacob Trimble <modmaker-at-google.com at ffmpeg.org>:
>>
>>> +    AV_WB32(side_data, size);
>>> +    AV_WL32(side_data + 4, MKTAG('p','s','s','h'));
>>
>> I didn't check:
>> Is this what applications on both big- and little-endian expect?
>
> Yes.  This should match the MP4 atom, so the size and 'pssh' string
> should be big-endian.
>
>>
>> Carl Eugen
>> _______________________________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Updated with the new design for the side data and applied the realloc
fix to avoid large allocations.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-avformat-mov-Expose-encryption-info-v2.patch
Type: text/x-patch
Size: 4686 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180108/d57b8aff/attachment.bin>


More information about the ffmpeg-devel mailing list