ffmpeg: Fix stts_data memory allocation