Code cleaning and last corrections
Code cleaning: Deleted unused variables, corrected initialization of variables and corrected variable format for m_nb_frames
from 16 to 32 bit.
Edited by Samuel Debionne
Code cleaning: Deleted unused variables, corrected initialization of variables and corrected variable format for m_nb_frames
from 16 to 32 bit.