Hi all, 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.
Patch attached Thanks, Eran
0001-movenc-encryption-with-time-code-track-fix.patch
Description: 0001-movenc-encryption-with-time-code-track-fix.patch
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel