Fix typo.
Further indent initializer lists.
Clean main.
Remove unused using declaration.
Move timer constants into header.
Use raw pointers for FFmpeg structures.
Put constants in header.
Change variable name for clarity.