Fix for memory leak of input frames in encoder.
Merge pull request #1049 from ethanhugg/frameleak

Fix for memory leak of input frames in encoder.