Create ff_queue.c

this file contains methods to operate the video/audio frame queue.