mpegvideo: operate with pointers to AVFrames instead of whole structs