[FFmpeg-devel] support for reading / writing encrypted MP4 files
Ganesh Ajjanagadde
gajjanag at mit.edu
Mon Dec 7 13:22:38 CET 2015
On Mon, Dec 7, 2015 at 7:01 AM, Eran Kornblau <eran.kornblau at kaltura.com> wrote:
>>
>> changes to libavutil and libavformat should likely be in seperate
>> patches/commits, more generally any independant changes should be
>> in seperate patches (i dont know if there are any other changes that
>> should be split off)
>>
> Done, new patch files attached, I also included the patch for decryption.
> The libavutil patch has to be applied before libavformat patches.
>
>>
>> fails to build
>>
>> ffmpeg/libavformat/movenccenc.c: In function ‘auxiliary_info_add_subsample’:
>> ffmpeg/libavformat/movenccenc.c:61:5: error: unknown type name ‘u_char’
>> ffmpeg/libavformat/movenccenc.c:73:7: warning: assignment from incompatible pointer type [enabled by default]
>>
> Replaced the u_char with uint8_t, don't know why I didn't get this error
u_char is a BSD thing, not POSIX. On GNU/Linux, _BSD_SOURCE must be
defined, requiring relevant include/#define/compiler flag. I ran into
a similar thing very recently:
http://ffmpeg.org/pipermail/ffmpeg-devel/2015-December/184722.html.
>
>>
>> also a Changelog entry should probably be added
>
> Added, one for encoding and one for decoding (since they are in separate patches)
>
>> and if libavformat uses a new feature from libavutil than libavutils
>> minor version needs to be bumped when that feature is added
>>
> Incremented LIBAVUTIL_VERSION_MINOR, please let me know if anything else is needed
>
>>
>> [...]
>> --
>> Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>>
>
> Thanks Michael !
>
> Eran
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
More information about the ffmpeg-devel
mailing list