Migrated from deprecated APIs (to av_frame_alloc/free).
Updated to FFmpeg 2.2.1.
Fixed testcase to use URL that really does not exist.