[FFmpeg-devel] mp4 encryption with time code track
eran.kornblau at kaltura.com
Wed May 24 19:35:44 EEST 2017
From: Eran Kornblau
Sent: Wednesday, May 17, 2017 12:50 PM
To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
Subject: mp4 encryption with time code track
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