frame.h for older ffmpeg