[FFmpeg-devel] mp4 encryption with time code track
eran.kornblau at kaltura.com
Wed May 17 12:49:31 EEST 2017
We bumped into an issue with the mp4 encryption support we submitted a while ago -
in case ffmpeg decides to write a timecode track in the output mp4, it crashes.
The reason is that mov_create_timecode_track calls ff_mov_write_packet on a track that doesn't
have 'cenc' initialized, this in turn causes a null dereference.
The suggested fix is to change the 'if's that decide whether to encrypt to check whether 'cenc'
was initialized, instead of checking whether some encryption scheme was set.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2073 bytes
More information about the ffmpeg-devel