FFMPEG: bugfixes for file writing.
FFMPEG: bugfixes for file writing.

- fixing a bug that caused a frame alignment error.
- fixed deinterlacing for different sample formats during encoding.

neXyon/audaspace,audaspace/audaspace,audaspace/audaspace,neXyon/audaspace,DethonUSAL/audaspace,DethonUSAL/audaspace,neXyon/audaspace,DethonUSAL/audaspace,audaspace/audaspace